Bookmarks tagged with #regexp.
Show all
Show all
Writing better Regular Expressions in PHP • PHP.Watch
Regular Expressions are powerful, PHP but they are not known to be readable, and more often than not, maintaining a regular expression is not a straight-forward task. PHP uses PCRE (PCRE2 since PHP 7.
Saved
on: 2021-06-16
Mastering Lookahead and Lookbehind
Lookarounds often cause confusion to the regex apprentice. I believe this confusion promptly disappears if one simple point is firmly grasped. It is that at the end of a lookahead or a lookbehind, the regex engine hasn't moved on the string.
Saved
on: 2018-03-16