Regex Inventory

List of all Regex mentioned in the code..

ValueCountFile:Line
'`^tests/([^/]+\.php)$`'1
  • /scripts/ValidatePEAR/ValidatePEARPackageXML.php
'`^tests/.+\.(php|inc|js|css|xml)$`'1
  • /scripts/ValidatePEAR/ValidatePEARPackageXML.php
'|\d+ (\d+)|'1
  • /src/Config.php
'`^\d+$`'1
  • /src/Config.php
'`\033\[[0-9;]+m`'1
  • /src/Reporter.php
'|^[0-9\.]+$|'1
  • /src/Tokenizers/JS.php
'|[a-zA-Z]|'1
  • /src/Tokenizers/JS.php
'/@[^\s]+/'1
  • /src/Tokenizers/Comment.php
'/^[ABCDEF0-9]+$/i'1
  • /src/Tokenizers/CSS.php
'`^(o[0-7]+(?:_[0-7]+)?)([0-9_]*)$`i'1
  • /src/Tokenizers/PHP.php
'`^\(\s*binary\s*\)$`i'1
  • /src/Tokenizers/PHP.php
'`^[a-zA-Z_\x80-\xff]`'1
  • /src/Tokenizers/PHP.php
'`^((?<!\.)_[0-9A-F][0-9A-F\.]*)+$`iD'1
  • /src/Tokenizers/PHP.php
'`^(?:(?<![\.e])_[0-9][0-9e\.]*)+$`iD'1
  • /src/Tokenizers/PHP.php
"/\r\n?|\n/"1
  • /src/Util/Common.php
'`(?<!^) `'1
  • /src/Util/Common.php
"/^$legalFirstChar/"1
  • /src/Util/Common.php
"|[^$legalChars]|"1
  • /src/Util/Common.php
'/^array\(\s*([^\s^=^>]*)(\s*=>\s*(.*))?\s*\)/i'1
  • /src/Util/Common.php
'|\(.+[0-9]{4}-[0-9]{2}-[0-9]{2}\s+[0-9]+\)|'1
  • /src/Reports/Gitblame.php
'|\(|'1
  • /src/Reports/Gitblame.php
'|\s*([^\s]+)\s+([^\s]+)|'1
  • /src/Reports/Svnblame.php
'/tests="([0-9]+)"/'1
  • /src/Reports/Junit.php
'|(.+[0-9]{2}:[0-9]{2}:[0-9]{2}\s[0-9]{4}\s.[0-9]{4}:)|'1
  • /src/Reports/Hgblame.php
'|<.+>|'1
  • /src/Reports/Hgblame.php
'/((?:(?![$.]|&(?=\$)).)*)(?:((?:\.\.\.)?(?:\$|&)[^\s]+)(?:(\s+)(.*))?)?/'1
  • /src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php
'/[^A-Za-z_]/'1
  • /src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php
'/^([^<]*)\s+<([' . $local . ']([' . $localMiddle . ']*[' . $local . '])*@[\da-zA-Z][-.\w]*[\da-zA-Z]\.[a-zA-Z]{2,})>$/'1
  • /src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php
'/^([0-9]{4})((.{1})([0-9]{4}))? (.+)$/'1
  • /src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php
'/^([^\s]+)\s+(.*)/'1
  • /src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php
'|[^\\\]\$([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)|'1
  • /src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php
"/^.+\(line ([0-9]+)\):(.+)$/"1
  • /src/Standards/Zend/Sniffs/Debug/CodeAnalyzerSniff.php
'|/systems/(.*)/([^/]+)?actions.inc$|'1
  • /src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php
'|/systems/([^/]+)/([^/]+)?actions.inc$|'1
  • /src/Standards/MySource/Sniffs/Channels/IncludeSystemSniff.php
'|/systems/(.*)/([^/]+)?actions.inc$|i'1
  • /src/Standards/MySource/Sniffs/Channels/IncludeOwnSystemSniff.php
'/^.*error:(.*) in .* on line ([0-9]+)/m'1
  • /src/Standards/Generic/Sniffs/PHP/SyntaxSniff.php
'`(<script (?:[^>]+)?language=[\'"]?php[\'"]?(?:[^>]+)?>)`i'1
  • /src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php
'`' . preg_quote(trim($tokens[$closeTagPointer]['content'])) . '`'1
  • /src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php
'`^(\s*)\S.*`s'1
  • /src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php
'/yield/i'1
  • /src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php
'/from/i'1
  • /src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php
'`^(\s*)(\S.*)`s'1
  • /src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php
'/(?:\A|[^\p{L}]+)todo([^\p{L}]+(.*)|\Z)/ui'1
  • /src/Standards/Generic/Sniffs/Commenting/TodoSniff.php
'/(?:\A|[^\p{L}]+)fixme([^\p{L}]+(.*)|\Z)/ui'1
  • /src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php
'/(error|warning) at line (\d+)/'1
  • /src/Standards/Generic/Sniffs/Debug/CSSLintSniff.php
'/^(.*):([0-9]+):\(.*?([0-9]+)\)(.*)$/'1
  • /src/Standards/Generic/Sniffs/Debug/ClosureLinterSniff.php
'|[\s]+|'1
  • /src/Standards/Squiz/Sniffs/CSS/DuplicateClassDefinitionSniff.php
'|\s*/\*.*\*/\s*|'1
  • /src/Standards/Squiz/Sniffs/CSS/DuplicateClassDefinitionSniff.php
'/\s+/'1
  • /src/Standards/Squiz/Sniffs/CSS/ShorthandSizeSniff.php
'/(?:[0-9]+)(?:[a-zA-Z]{2}\s+|%\s+|\s+)/'1
  • /src/Standards/Squiz/Sniffs/CSS/ShorthandSizeSniff.php
'`^\s*@[A-Za-z()\._-]+\s*$`'1
  • /src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php
'/[-=#*]{2,}/'1
  • /src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php
'/\d+/'1
  • /src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php
'|[^\\\]\${?([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)|'1
  • /src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php
'/^([0-9]{4})(-[0-9]{4})? (Squiz Pty Ltd \(ABN 77 084 670 600\))$/'1
  • /src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php
'/^(([0-9]{4})(-[0-9]{4})?)?.*$/'1
  • /src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php
'/([^$&.]+)(?:((?:\.\.\.)?(?:\$|&)[^\s]+)(?:(\s+)(.*))?)?/'1
  • /src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php
'/^(\p{Ll}|\P{L})/u'1
  • /src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php
'/^(\s*\/\*\*?)/'1
  • /src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php
'/Lint at line ([0-9]+).*:(.*)$/'1
  • /src/Standards/Squiz/Sniffs/Debug/JSLintSniff.php
'/^\p{L}/u'1
  • /src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php
'|[a-zA-z0-9_]|'2
  • /src/Tokenizers/JS.php (2)
'|^[A-Z]|'2
  • /src/Util/Common.php
  • /src/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php
'|\s+|'2
  • /src/Reports/Gitblame.php
  • /src/Reports/Hgblame.php
'|(?<!\\\\)(?:\\\\{2})*\${?[a-zA-Z0-9_]+}?|'2
  • /src/Sniffs/AbstractVariableSniff.php (2)
'/([^\s]+)(?:\s+(.*))?/'2
  • /src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php
  • /src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php
'`^[\r\n]+$`'2
  • /src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php (2)
'`^[\pZ\s]+$`u'2
  • /src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php (2)
'`^((?:\|?(?:array\([^\)]*\)|[\\\\a-z0-9\[\]]+))*)( .*)?`i'2
  • /src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php
  • /src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php
'|\d|'4
  • /src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php (4)
'/^\p{Ll}/u'4
  • /src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php (2)
  • /src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php
  • /src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php
'|^__[^_]|'6
  • /src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php (2)
  • /src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php (2)
  • /src/Standards/Squiz/Sniffs/NamingConventions/ValidFunctionNameSniff.php
  • /src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php