Last modified: 2014-09-04 02:57:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52454, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50454 - Include a RegEx library for Lua
Include a RegEx library for Lua
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-30 12:21 UTC by Liangent
Modified: 2014-09-04 02:57 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2013-06-30 12:21:37 UTC
The reason that no RegEx support is added in Lua by default is to reduce the total size of Lua runtime. However as we're running Lua on servers now, size is not something critical for us.
Comment 1 Brad Jorsch 2013-06-30 19:40:20 UTC
On the other hand, it's very easy to create pathological regular expressions. This is much less likely with Lua patterns, and we were able to easily add checkpoints into Lua's pattern processing to allow Scribunto's CPU limiting to continue to work even if someone does manage this. Doing the same for a regex engine is likely to be more difficult.
Comment 2 Brad Jorsch 2013-12-10 17:46:27 UTC
I don't think this is going to happen.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links