Regex Inventory

List of all Regex mentioned in the code..

ValueCountFile:Line
"/$this->space$opt(»|»|‹|›)($outside_char|$)/"
1
  • /application/library/smartypants/smartypants.php
'/^([ a-z]+)$/is'
1
  • /application/library/validate.php
'/' str_replace('/''\/'str_replace('\/''/'$osRegex->regex)) . '/i'
1
  • /application/library/uaparser/uaparser.php
'/' str_replace('/''\/'str_replace('\/''/'$uaRegex->regex)) . '/i'
1
  • /application/library/uaparser/uaparser.php
'/^note\-(regular|error|warning|success)\-([\-_ a-zA-Z0-9\!\,\~\&\.\:\+\@]+)/'
1
  • /application/library/note.php
'/^note\-(regular|error|warning|success)\-/'
1
  • /application/library/note.php
'/^note\-(regular|error|warning|success)/'
1
  • /application/library/note.php
"{$allowed[$attr]}"
1
  • /application/library/xss.php
'/[;\(\)\[\]\'"\\\]+/'
1
  • /application/library/xss.php
'/^([0-9]{10})$/'
1
  • /application/library/validate.php
'/([ \(\)\-]+)/'
1
  • /application/library/validate.php
'/^([_\.a-z0-9]{3,})@([\-_\.a-z0-9]{3,})\.([a-z]{2,})$/is'
1
  • /application/library/validate.php
'/^([0-9]+)$/is'
1
  • /application/library/validate.php
'/^([\.0-9]+)$/is'
1
  • /application/library/validate.php
'/^([ \t\n\r]+)$/'
1
  • /application/library/xml.php
'# ( +)|^ #e'
1
  • /application/library/diff/Renderer/Html/Array.php
'/^SELECT/is'
1
  • /application/library/db.php
'/^\d+\.\d+$/'
1
  • /application/library/import/wordpress.php
'/[ \t]+/'
1
  • /application/helper/format.php
"`&([a-z]+);`i"
1
  • /application/helper/common.php
"`&([a-z])(acute|uml|circ|grave|ring|cedil|slash|tilde|caron|lig);`i"
1
  • /application/helper/common.php
'`&(amp;)?#?[a-z0-9]+;`i'
1
  • /application/helper/common.php
"`\[.*\]`U"
1
  • /application/helper/common.php
"/($phrase)/"
1
  • /application/helper/common.php
"/[\s\n\r\t]+/"
1
  • /application/helper/common.php
"/[^a-zA-Z0-9]/"
1
  • /application/helper/common.php
'/\s+/'
1
  • /application/helper/common.php
'/<\/([a-z]+)>/'
1
  • /application/helper/common.php
'/' str_replace('/''\/'str_replace('\/''/'$deviceRegex->regex)) . '/i'
1
  • /application/library/uaparser/uaparser.php
'/\s*#([^"\']+)$/'
1
  • /application/library/Spyc/Spyc.php
"/$this->space$opt(:)(\\s|$)/m"
1
  • /application/library/smartypants/smartypants.php
'/(\*[' $symbolsForReference ']+$)/'
1
  • /application/library/Spyc/Spyc.php
"/(^|$outside_char)(&#171;|«|&#8250;|‹)$this->space$opt/"
1
  • /application/library/smartypants/smartypants.php
"/(?:>|&gt;){2}/"
1
  • /application/library/smartypants/smartypants.php
"/(?:<|&lt;){2}/"
1
  • /application/library/smartypants/smartypants.php
"/$this->space(;)(?=\\s|$)/m"
1
  • /application/library/smartypants/smartypants.php
"/((?:^|\\s)(?>[^&;\\s]+|&#?[a-zA-Z0-9]+;)*)" $opt(;)(?=\\s|$)/m"
1
  • /application/library/smartypants/smartypants.php
"/$this->space$opt([?!]+)/"
1
  • /application/library/smartypants/smartypants.php
"/($imarks+)$this->space$opt/"
1
  • /application/library/smartypants/smartypants.php
"/$this->space$opt(&#8212;|—)$this->space$opt/"
1
  • /application/library/smartypants/smartypants.php
"/$this->space$opt(&#8211;|–)$this->space$opt/"
1
  • /application/library/smartypants/smartypants.php
'/&quot;/'
1
  • /application/library/smartypants/smartypants.php
'@<(/?)(?:' SMARTYPANTS_TAGS_TO_SKIP ')[\s>]@'
1
  • /application/library/smartypants/smartypants.php
'#^\s*<<\s*:\s*(\*[^\s]+).*$#'
1
  • /application/library/Spyc/Spyc.php
'/(&[' $symbolsForReference ']+)$/'
1
  • /application/library/Spyc/Spyc.php
'/\s+#(.+)$/'
1
  • /application/library/Spyc/Spyc.php
'/^(\*[' $symbolsForReference ']+)/'
1
  • /application/library/Spyc/Spyc.php
'/^(&[' $symbolsForReference ']+)/'
1
  • /application/library/Spyc/Spyc.php
'/^(["\'](.*)["\'](\s)*:)/'
1
  • /application/library/Spyc/Spyc.php
'#^[^:]+?:\s*\[#'
1
  • /application/library/Spyc/Spyc.php
'#<.*?>$#'
1
  • /application/library/Spyc/Spyc.php
'/YAMLEmpty/'
1
  • /application/library/Spyc/Spyc.php
'/YAMLString/'
1
  • /application/library/Spyc/Spyc.php
'/([0-9]) ([0-9])/'
1
  • /application/library/smartypants/smartypants.php
'/
            (?:([0-9])[ ]' 
$opt ') # Number followed by space.
            (' 
$this->units ')     # Unit.
            (?![a-zA-Z0-9])  # Negative lookahead for other unit characters.
            /x'
1
  • /application/library/smartypants/smartypants.php
"/(^|\s)($this->abbr_after$opt/m"
1
  • /application/library/smartypants/smartypants.php
"/( )$opt($this->abbr_sp_before)(?![a-zA-Z'])/m"
1
  • /application/library/smartypants/smartypants.php
'/^(-|)[1-9]+[0-9]*$/'
1
  • /application/library/Spyc/Spyc.php
'/\n+/'
1
  • /application/helper/format.php
'/<\/([\w]+)[^>]*>/s'
1
  • /application/helper/common.php
'/<[\w]+[^>]*>/s'
1
  • /application/helper/common.php
'|<p><blockquote([^>]*)>|i'
1
  • /application/helper/format.php
'~
                ([\\s(<.,;:!?])                                        # 1: Leading whitespace, or punctuation
                (                                                      # 2: URL
                    [\\w]{1,20}+://                                # Scheme and hier-part prefix
                    (?=\S{1,2000}\s)                               # Limit to URLs less than about 2000 characters long
                    [\\w\\x80-\\xff#%\\~/@\\[\\]*(+=&$-]*+         # Non-punctuation URL character
                    (?:                                            # Unroll the Loop: Only allow puctuation URL character if followed by a non-punctuation URL character
                        [\'.,;:!?)]                            # Punctuation URL character
                        [\\w\\x80-\\xff#%\\~/@\\[\\]*(+=&$-]++ # Non-punctuation URL character
                    )*
                )
                (\)?)                                                  # 3: Trailing closing parenthesis (for parethesis balancing post processing)
            ~xS'
1
  • /application/helper/format.php
'|^<\s*[\w]{1,20}+://|'
1
  • /application/helper/format.php
'/^' $disabled_elements $c '/'
1
  • /application/helper/format.php
'/^' $disabled_elements '\b/'
1
  • /application/helper/format.php
'/&([^#])(?![a-zA-Z1-4]{1,8};)/'
1
  • /application/helper/format.php
"|\n</p>$|"
1
  • /application/helper/format.php
'!<br />(\s*</?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)!'
1
  • /application/helper/format.php
'!(</?' $allblocks '[^>]*>)\s*<br />!'
1
  • /application/helper/format.php
'|(?<!<br />)\s*\n|'
1
  • /application/helper/format.php
'/<(script|style).*?<\/\\1>/s'
1
  • /application/helper/format.php
'!(</?' $allblocks '[^>]*>)\s*</p>!'
1
  • /application/helper/format.php
'!<p>\s*(</?' $allblocks '[^>]*>)!'
1
  • /application/helper/format.php
"|<p>(<li.+?)</p>|"
1
  • /application/helper/format.php
'/img|br|input|hr|area|base|basefont|col|frame|isindex|link|meta|param/s'
1
  • /application/helper/common.php
'!<p>\s*(</?' $allblocks '[^>]*>)\s*</p>!'
1
  • /application/helper/format.php
'!<p>([^<]+)</(div|address|form)>!'
1
  • /application/helper/format.php
'|<p>\s*</p>|'
1
  • /application/helper/format.php
"/\n\n+/"
1
  • /application/helper/format.php
'|\s*</embed>\s*|'
1
  • /application/helper/format.php
'|\s*<param([^>]*)>\s*|'
1
  • /application/helper/format.php
'!(</' $allblocks '>)!'
1
  • /application/helper/format.php
'!(<' $allblocks '[^>]*>)!'
1
  • /application/helper/format.php
'|<br />\s*<br />|'
1
  • /application/helper/format.php
'/^[ \t\/*#@]*' preg_quote($regex'/') . ':(.*)$/mi'
1
  • /application/helper/theme.php
"/\s*(?:\*\/|\?>).*/"
1
  • /application/helper/theme.php
'/\/(\w+)\/(\w+)\/(\d+)/i'
1
  • /application/helper/theme.php
'#([\s>])([.0-9a-z_+-]+)@(([0-9a-z-]+\.)+[0-9a-z]{2,})#i'
1
  • /application/helper/format.php
'#(<a( [^>]+?>|>))<a [^>]+?>([^>]+?)</a></a>#i'
1
  • /application/helper/format.php
'#<([0-9]{1})#'
1
  • /application/helper/format.php
"/<(\/?[\w:]*)\s*([^>]*)>/"
1
  • /application/helper/format.php
"/(<\/?([\w+]+)[^>]*>)?([^<>]*)/"
1
  • /application/helper/common.php
"/<[^>]+>/"
1
  • /application/helper/common.php
"`[-]+`"
1
  • /application/helper/common.php
"/([a-z])([A-Z])/"
1
  • /application/helper/common.php
'/(\d)(?=(\d\d\d)+(?!\d))/'
1
  • /application/helper/common.php
'/([0-9]{1,3})([0-9]{3})([0-9]{4})$/'
1
  • /application/helper/common.php
'/([0-9]{1,3})([0-9]{3})([0-9]{4}$)/'
1
  • /application/helper/common.php
"/^{$token}:[0-9.E-]+;\$/"
1
  • /application/helper/tentacle.php
"/^{$token}:[0-9]+:/s"
1
  • /application/helper/tentacle.php
"/$pat\s*$pat/"
1
  • /application/helper/tentacle.php
"/$pat\s*$pat\s*$pat/"
1
  • /application/helper/tentacle.php
"#<h2[^>]*>([^<]+)<\/h2>#"
1
  • /application/helper/tentacle.php
"#<td[^>]*>([^<]+)<\/td>#"
1
  • /application/helper/tentacle.php
"/<link rel=[\"|']pingback[\"|'] href=[\"|']([^\"]+)[\"|'] ?\/?>/i"
1
  • /application/helper/track.php
'@<(script|style)[^>]*?>.*?</\\1>@si'
1
  • /application/helper/format.php
'/[\r\n\t ]+/'
1
  • /application/helper/format.php
"/X-Pingback: (.+)/i"
1
  • /application/helper/track.php
"/Content-Type: (.+)/i"
1
  • /application/helper/track.php
'/(image|audio|video|model)/i'
1
  • /application/helper/track.php
"`[^a-z0-9]`i"
1
  • /application/helper/common.php
"/[\x{00a0}\x{200b}]+/u"
1
  • /application/helper/shortcode.php
'/(\w+)\s*=\s*"([^"]*)"(?:\s|$)|(\w+)\s*=\s*\'([^\']*)\'(?:\s|$)|(\w+)\s*=\s*([^\s\'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|(\S+)(?:\s|$)/'
1
  • /application/helper/shortcode.php
'/^\/(.*)$/'
1
  • /application/helper/get_set.php
"#<th[^>]*>([^<]+)<\/th>#"
1
  • /application/helper/tentacle.php
"/width=\"[0-9]*\"/"
2
  • /application/library/oembed/oembed.php
  • /application/library/oembed/oembed.php
"/height=\"[0-9]*\"/"
2
  • /application/library/oembed/oembed.php
  • /application/library/oembed/oembed.php
'#\<span class\="hoster"\>([^"]*)\<\/span\><\/span\>#ism'
2
  • /application/model/statistics.php
  • /application/model/statistics.php
"/^\"(?=$punct_class\\B)/"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
"/^'(?=$punct_class\\B)/"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
"/\"'(?=\w)/"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
'/^[ \!\,\~\&\.\:\+\@\-_a-zA-Z0-9]+$/'
2
  • /index.php
  • /index.php
"/'\"(?=\w)/"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
"{
            (
$close_class)?
            \"
            (?(1)|(?=\\s))   # If $1 captured, then do nothing;
                               # if not, then make sure the next char is whitespace.
            }x"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
'/^([a-fA-F0-9]{3})|([a-fA-F0-9]{6})$/'
2
  • /application/library/image.php
  • /application/library/image.php
'/^:/'
2
  • /application/bootstrap.php
  • /application/bootstrap.php
'/(WBMP|XBM|Freetype|T1Lib)/i'
2
  • /application/view/admin/about_system_details.php
  • /application/helper/exception.php
'/' $pattern '/s'
2
  • /application/helper/shortcode.php
  • /application/helper/shortcode.php
'/(?<=\\w)([A-Z])/'
2
  • /application/helper/common.php
  • /application/helper/common.php
"/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i"
2
  • /application/helper/common.php
  • /application/helper/common.php
"/{$regexp_url}([^\.\!,\?;\"\'<>\(\)\[\]\{\}\s\t ]+)\.([a-zA-Z0-9]+)/"
2
  • /application/controller/dev.php
  • /application/controller/action.php
"{
            (
                \\s          |   # a whitespace char, or
                &nbsp;      |   # a non-breaking space entity, or
                --          |   # dashes, or
                &[mn]dash;  |   # named dash entities
                
$dec_dashes |   # or decimal entities
                &\\#x201[34];    # or hex
            )
            \"                   # the quote
            (?=\\w)              # followed by a word character
            }x"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
'/^([\-_ a-z0-9]+)$/i'
2
  • /application/library/user.php
  • /application/library/user.php
'/\[([^{}\[\]]+)\]/U'
2
  • /application/library/Spyc/Spyc.php
  • /application/library/Spyc/Spyc.php
'/{([^\[\]{}]+)}/U'
2
  • /application/library/Spyc/Spyc.php
  • /application/library/Spyc/Spyc.php
'/\S/'
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
"/'(?=\\d{2}s)/"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
"{
            (
                \\s          |   # a whitespace char, or
                &nbsp;      |   # a non-breaking space entity, or
                --          |   # dashes, or
                &[mn]dash;  |   # named dash entities
                
$dec_dashes |   # or decimal entities
                &\\#x201[34];    # or hex
            )
            '                   # the quote
            (?=\\w)              # followed by a word character
            }x"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
"{
            (
$close_class)?
            '
            (?(1)|          # If $1 captured, then do nothing;
              (?=\\s | s\\b)  # otherwise, positive lookahead for a whitespace
            )               # char or an 's' at a word ending position. This
                            # is a special case to handle something like:
                            # \"<i>Custer</i>'s Last Stand.\"
            }xi"
2
  • /application/library/smartypants/smartypants.php
  • /application/library/smartypants/smartypants.php
'/^(\/)/'
3
  • /application/bootstrap.php
  • /application/bootstrap.php
  • /application/bootstrap.php
'/(?:(")|(?:\'))((?(1)[^"]+|[^\']+))(?(1)"|\')/'
4
  • /application/library/Spyc/Spyc.php
  • /application/library/Spyc/Spyc.php
  • /application/library/Spyc/Spyc.php
  • /application/library/Spyc/Spyc.php
'/("")|(\'\')/'
4
  • /application/library/Spyc/Spyc.php
  • /application/library/Spyc/Spyc.php
  • /application/library/Spyc/Spyc.php
  • /application/library/Spyc/Spyc.php
'/^' str_replace('/''\\/'$okey) . '$/'
5
  • /application/bootstrap.php
  • /application/bootstrap.php
  • /application/bootstrap.php
  • /application/bootstrap.php
  • /application/bootstrap.php
'/^([\-_ a-z0-9]+)$/is'
6
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/validate.php
'/^([0-9]+)$/'
7
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/user.php
  • /application/library/user.php