💬

Community answer

Collected from the ACE community Discord archive around 2024-06-05. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Regex too complex extracting filename from URL

⚡ PerformanceUpdated 2 days ago•0 views
The 500-char ext search limit is hit on long names - split the work into two string.match calls, or simpler: find the last '/' and substring from there.

Why does string matching to strip a URL down to its filename error with 'Regex is too complex'

The 500-char ext search limit is hit on long names - split the work into two string.match calls, or simpler: find the last '/' and substring from there.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.