Regular Expressions 101

Library entries

recognize php

Vote

1

Regular Expression
pcre

/
(?: <\?php (?: [^"'\/<\?]+ | (?: "(?:[^\\"]|\\[\s\S])*" | # '(?:[^\\']|\\[\s\S])*' #| \/\*(?:[^\*]|\*[^\/])*\*\/ | (?:\#|\/\/).+(?:\n|$) | (?: <<<\s* (?: (?:'([a-zA-Z0-9_]+)'\s*?\n)(?:[^\n]*\n)*?\s*\1\s*?;?\s*?(?:\n|$) | (?:([a-zA-Z0-9_]+)\s*?\n)(?:[^\n]*\n)*?\s*\2\s*?;?\s*?(?:\n|$) ) ) ) | (?:[^?]|\?[^>]) )* (?:\?>|$) )
/
xgi

Description

Loading markdown...
Submitted by Chris Ottersen - 6 years ago