Regular Expressions 101

Library entries

ng2interpolation to handlebars

Vote

1

Regular Expression
pcre

/
(?(DEFINE)(?<namepart>\w+))(?(DEFINE)(?<name>(?&namepart)(\.(?&namepart))*))(?(DEFINE)(?<helper>(?<hexpr>(?&sexpr))\|(?<hname>(?&namepart))))(?(DEFINE)(?<sexpr>(?&name)|\((?&expr)\)))(?(DEFINE)(?<expr>((?&or)|(?&helper))))(?(DEFINE)(?<or>(?<or1>(?&name))\|\|(?<or2>(?&expr))?))(?&or)
/
x

Description

Loading markdown...
Submitted by jskrzypek - 5 years ago