Optimized string matching for escaped quotes
authorAlexander Ebert <ebert@woltlab.com>
Wed, 7 Mar 2018 22:53:24 +0000 (23:53 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 7 Mar 2018 22:53:24 +0000 (23:53 +0100)
commit009578b6714a84a2e62db089a08e3485164d8f4a
tree52ec4ed09280b6819ffc6fda2195ad91adff7f1b
parent766283e79798d15d3b8a96de0dc73adb10d79ff3
Optimized string matching for escaped quotes

The new regex is more efficient, because it tries to match as long as
possible using repetitions of a character class, instead of repetitions
of an alternation, leading to fewer internal states.
wcfsetup/install/files/lib/system/bbcode/highlighter/Highlighter.class.php