Regex Inventory

List of all Regex mentioned in the code..

ValueCountFile:Line
'/us$/'
1
  • /system/classes/Kohana/Inflector.php
'/^([ ]*)/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            (\n)?                            # leading line = $1
            (^[ ]*)                            # leading whitespace = $2
            (' 
$marker_any_re '                # list marker and space = $3
                (?:[ ]+|(?=\n))    # space only required if item is not empty
            )
            ((?s:.*?))                        # list item text   = $4
            (?:(\n+(?=\n))|\n)                # tailing blank line = $5
            (?= \n* (\z | \2 (' 
$marker_any_re ') (?:[ ]+|(?=\n))))
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/\n+$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                (?:\n\n|\A\n?)
                (                # $1 = the code block -- one or more lines, starting with a space/tab
                  (?>
                    [ ]{' 
$this->tab_width '}  # Lines must start with a tab or a tab-width of spaces
                    .*\n+
                  )+
                )
                ((?=^[ ]{0,' 
$this->tab_width '}\S)|\Z)    # Lookahead for non-space at line-start, or end of doc
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/
              (                                # Wrap whole match in $1
                (?>
                  ^[ ]*>[ ]?            # ">" at the start of a line
                    .+\n                    # rest of the first line
                  (.+\n)*                    # subsequent consecutive lines
                  \n*                        # blanks
                )+
              )
            /xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^[ ]*>[ ]?|^[ ]+$/m'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^/m'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{(\s*<pre>.+?</pre>)}sx'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^  /m'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^B\x1A[0-9]+B$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                        (?:(?<=\n)\n|\A\n?) # Must eat the newline
                        ' 
$whole_list_re '
                    }mx'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{<((https?|ftp|dict):[^\'">\s]+)>}i'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            <
            (?:mailto:)?
            (
                [-.\w\x80-\xFF]+
                \@
                [-a-z0-9\x80-\xFF]+(\.[-a-z0-9\x80-\xFF]+)*\.[a-z]+
            )
            >
            }xi'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^(.*?[^`])' preg_quote($token) . '(?!`)(.*)$/sm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^(\t|[ ]{1,' $this->tab_width '})/m'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^.*\t.*$/m'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/[\x00-\xBF]|[\xC0-\xFF][\x80-\xBF]*/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/(.)\x1A[0-9]+\1/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^(?>.+?|\n(?!\n))*?(?<!`)' $tag_re '(?!`)}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^(?>.*\n)+?' $tag_re ' *\n}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^<(?:' $this->block_tags_re ')\b}'
1
  • /modules/userguide/vendor/markdown/markdown.php
"/$marker_ul_re/"
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                        ^
                        ' 
$whole_list_re '
                    }mx'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/(?:^\n?|\n\n)*$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^[ ]+$/m'
1
  • /modules/userguide/vendor/markdown/markdown.php
'~\b(?:[\w-]++://?+|www[.])[^\s()<>]+(?:\([\w\d]++\)|(?:[^[:punct:]\s]|/))~'
1
  • /modules/codebench/classes/Bench/GruberURL.php
'/[sxz]es$/'
1
  • /system/classes/Kohana/Inflector.php
'/^([^\[]*+)\[(.*)\]$/'
1
  • /modules/codebench/classes/Bench/ArrCallback.php
'/^([^\[]*+)\[\K.*(?=\]$)/'
1
  • /modules/codebench/classes/Bench/ArrCallback.php
'{^$|^<(p|ul|ol|dl|pre|blockquote)>}i'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{\n{2,}}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{</?p>}i'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^\xEF\xBB\xBF|\x1A}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{\r\n?}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                            ^[ ]{0,' 
$less_than_tab '}\[(.+)\][ ]?:    # id = $1
                              [ ]*
                              \n?                # maybe *one* newline
                              [ ]*
                            <?(\S+?)>?            # url = $2
                              [ ]*
                              \n?                # maybe one newline
                              [ ]*
                            (?:
                                (?<=\s)            # lookbehind for whitespace
                                ["(]
                                (.*?)            # title = $3
                                [")]
                                [ ]*
                            )?    # title is optional
                            (?:\n+|\Z)
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^-(?: |$)}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{(?>
            (?>
                (?<=\n\n)        # Starting after a blank line
                |                # or
                \A\n?            # the beginning of the doc
            )
            (                        # save in $1

              # Match from `\n<tag>` to `</tag>\n`, handling nested tags 
              # in between.
                    
                        [ ]{0,' 
$less_than_tab '}
                        <(' 
$block_tags_b_re ')# start tag = $2
                        ' 
$attr '>            # attributes followed by > and \n
                        ' 
$content '        # content, support nesting
                        </\2>                # the matching end tag
                        [ ]*                # trailing spaces/tabs
                        (?=\n+|\Z)    # followed by a newline or end of document

            | # Special version for tags of group a.

                        [ ]{0,' 
$less_than_tab '}
                        <(' 
$block_tags_a_re ')# start tag = $3
                        ' 
$attr '>[ ]*\n    # attributes followed by >
                        ' 
$content2 '        # content, support nesting
                        </\3>                # the matching end tag
                        [ ]*                # trailing spaces/tabs
                        (?=\n+|\Z)    # followed by a newline or end of document
                    
            | # Special case just for <hr />. It was easier to make a special 
              # case than to make the other regex more complicated.
            
                        [ ]{0,' 
$less_than_tab '}
                        <(hr)                # start tag = $2
                        ' 
$attr '            # attributes
                        /?>                    # the matching end tag
                        [ ]*
                        (?=\n{2,}|\Z)        # followed by a blank line or end of document
            
            | # Special case for standalone HTML comments:
            
                    [ ]{0,' 
$less_than_tab '}
                    (?s:
                        <!-- .*? --
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                ^[ ]{0,3}    # Leading space
                ([-*_])        # $1: First marker
                (?>            # Repeated marker group
                    [ ]{0,2}    # Zero, one, or two spaces.
                    \1            # Marker character
                ){2,}        # Group repeated at least twice
                [ ]*        # Tailing spaces
                $            # End of line.
            }mx'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/ {2,}\n/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            (                    # wrap whole match in $1
              \[
                (' 
$this->nested_brackets_re ')    # link text = $2
              \]

              [ ]?                # one optional space
              (?:\n[ ]*)?        # one optional newline followed by spaces

              \[
                (.*?)        # id = $3
              \]
            )
            }xs'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            (                # wrap whole match in $1
              \[
                (' 
$this->nested_brackets_re ')    # link text = $2
              \]
              \(            # literal paren
                [ ]*
                (?:
                    <(\S*)>    # href = $3
                |
                    (' 
$this->nested_url_parenthesis_re ')    # href = $4
                )
                [ ]*
                (            # $5
                  ([\'"])    # quote char = $6
                  (.*?)        # Title = $7
                  \6        # matching quote
                  [ ]*    # ignore any spaces/tabs between closing quote and )
                )?            # title is optional
              \)
            )
            }xs'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{[ ]?\n}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            (                # wrap whole match in $1
              !\[
                (' 
$this->nested_brackets_re ')        # alt text = $2
              \]

              [ ]?                # one optional space
              (?:\n[ ]*)?        # one optional newline followed by spaces

              \[
                (.*?)        # id = $3
              \]

            )
            }xs'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            (                # wrap whole match in $1
              !\[
                (' 
$this->nested_brackets_re ')        # alt text = $2
              \]
              \s?            # One optional whitespace character
              \(            # literal paren
                [ ]*
                (?:
                    <(\S*)>    # src url = $3
                |
                    (' 
$this->nested_url_parenthesis_re ')    # src url = $4
                )
                [ ]*
                (            # $5
                  ([\'"])    # quote char = $6
                  (.*?)        # title = $7
                  \6        # matching quote
                  [ ]*
                )?            # title is optional
              \)
            )
            }xs'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{ ^(.+?)[ ]*\n(=+|-+)[ ]*\n+ }mx'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                ^(\#{1,6})    # $1 = string of #\'s
                [ ]*
                (.+?)        # $2 = Header text
                [ ]*
                \#*            # optional closing #\'s (not counted)
                \n+
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^<(?:' $this->context_block_tags_re ')\b}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                ^                        # Start of text following the tag.
                (?>[ ]*<!--.*?-->)?        # Optional comment.
                [ ]*\n                    # Must be followed by newline.
            }xs'
1
  • /modules/userguide/vendor/markdown/markdown.php
'~\b(([\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|/)))~'
1
  • /modules/codebench/classes/Bench/GruberURL.php
'/^(\S*)(?:\s*(.+?))?$/s'
1
  • /modules/userguide/classes/Kohana/Kodoc/Property.php
'/^[A-Z_\x7f-\xff][A-Z0-9_\x7f-\xff]*$/'
1
  • /modules/userguide/classes/Kohana/Kodoc.php
'/^(\w+)\W(.*)$/D'
1
  • /modules/userguide/classes/Kohana/Kodoc.php
'/^' Kodoc::$regex_class_member '/'
1
  • /modules/userguide/classes/Kohana/Kodoc.php
'/^\s*\* ?(.*)\n/m'
1
  • /modules/userguide/classes/Kohana/Kodoc.php
'/^@(\S+)\s*(.+)?$/'
1
  • /modules/userguide/classes/Kohana/Kodoc.php
'/^(\s+)/'
1
  • /modules/userguide/classes/Kohana/Kodoc.php
'~(?<!!)(\[.+?\]\()(?!\w++://)(?!#)(\S*(?:\s*+".+?")?\))~'
1
  • /modules/userguide/classes/Kohana/Kodoc/Markdown.php
'/\[' Kodoc::$regex_class_member '\]/i'
1
  • /modules/userguide/classes/Kohana/Kodoc/Markdown.php
'/^\[!!\]\s*+(.+?)(?=\n{2,}|$)/s'
1
  • /modules/userguide/classes/Kohana/Kodoc/Markdown.php
'/^(\S+)(?:\s*(?:\$' $param->name '\s*)?(.+))?$/s'
1
  • /modules/userguide/classes/Kohana/Kodoc/Method.php
'{
            ^[ ]{0,' 
$less_than_tab '}\*\[(.+?)\][ ]?:    # abbr_id = $1
            (.*)                    # text = $2 (no blank lines allowed)    
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^(\S*)(?:\s*(.+?))?$/'
1
  • /modules/userguide/classes/Kohana/Kodoc/Method.php
'~\*{2}(.+?)\*{2}[^*]+\[[^\]]+\]\(' preg_quote($page) . '\)~mu'
1
  • /modules/userguide/classes/Kohana/Controller/Userguide.php
'~\[([^\]]+)\]\(' preg_quote($page) . '\)~mu'
1
  • /modules/userguide/classes/Kohana/Controller/Userguide.php
'/^(\s*[\-\*\+]\s*)([^\[\]]+)$/m'
1
  • /modules/userguide/classes/Kohana/Controller/Userguide.php
'/./'
1
  • /modules/image/classes/Kohana/Image.php
'/\d+\.\d+(?:\.\d+)?/'
1
  • /modules/image/classes/Kohana/Image/GD.php
'~[^\\pL\d.]+~u'
1
  • /modules/orm/classes/ORM/Behavior/Slug.php
'~[^-\w.]+~'
1
  • /modules/orm/classes/ORM/Behavior/Slug.php
'/[\x80-\xff]/'
1
  • /modules/orm/classes/ORM/Behavior/Slug.php
'/^.$/u'
1
  • /public/install.php
'{' '(?<![\w\x1A])' '(?:' $this->abbr_word_re ')' '(?![\w\x1A])' '}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{</p>$}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^<(?:' $this->clean_tags_re ')\b}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'
            {
                ^                            # Start of a line
                [ ]{0,' 
$less_than_tab '}    # Allowed whitespace.
                (\S.*[|].*) \n                # $1: Header row (at least one pipe)
                
                [ ]{0,' 
$less_than_tab '}    # Allowed whitespace.
                ([-:]+[ ]*[|][-| :]*) \n    # $2: Header underline
                
                (                            # $3: Cells
                    (?>
                        .* [|] .* \n        # Row content
                    )*
                )
                (?=\n|\Z)                    # Stop at final double newline.
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^</?(?:' $enclosing_tag_re ')\b}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^</?(?:' $this->auto_close_tags_re ')\b}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^</?' $base_tag_name_re '\b}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^1|block|span$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{^<(?:' $this->contain_span_tags_re ')\b}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/(?:^|\n)( *?)(?! ).*?$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
"/^[ ]{1,$indent}/m"
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                (^.+?)                                # $1: Header text
                (?:[ ]+\{\#([-_:a-zA-Z0-9]+)\})?    # $2: Id attribute
                [ ]*\n(=+|-+)[ ]*\n+                # $3: Header footer
            }mx'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                ^(\#{1,6})    # $1 = string of #\'s
                [ ]*
                (.+?)        # $2 = Header text
                [ ]*
                \#*            # optional closing #\'s (not counted)
                (?:[ ]+\{\#([-_:a-zA-Z0-9]+)\})? # id attribute
                [ ]*
                \n+
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'
            {
                ^                            # Start of a line
                [ ]{0,' 
$less_than_tab '}    # Allowed whitespace.
                [|]                            # Optional leading pipe (present)
                (.+) \n                        # $1: Header row (at least one pipe)
                
                [ ]{0,' 
$less_than_tab '}    # Allowed whitespace.
                [|] ([ ]*[-:]+[-| :]*) \n    # $2: Header underline
                
                (                            # $3: Cells
                    (?>
                        [ ]*                # Allowed whitespace.
                        [|] .* \n            # Row content.
                    )*
                )
                (?=\n|\Z)                    # Stop at final double newline.
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^ *[|]/m'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{\[\^(.+?)\]}'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^ *-+: *$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^ *:-+: *$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^ *:-+ *$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                (?>\A\n?|(?<=\n\n))
                ' 
$whole_list_re '
            }mx'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            (?>\A\n?|\n\n+)                    # leading line
            (                                # definition terms = $1
                [ ]{0,' 
$less_than_tab '}    # leading whitespace
                (?![:][ ]|[ ])                # negative lookahead for a definition 
                                            #   mark (colon) or more whitespace.
                (?> \S.* \n)+?                # actual term (not whitespace).    
            )            
            (?=\n?[ ]{0,3}:[ ])                # lookahead for following line feed 
                                            #   with a definition mark.
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            \n(\n+)?                        # leading line = $1
            (                                # marker space = $2
                [ ]{0,' 
$less_than_tab '}    # whitespace before colon
                [:][ ]+                        # definition mark (colon)
            )
            ((?s:.+?))                        # definition text = $3
            (?= \n+                         # stop at next definition mark,
                (?:                            # next term or end of text
                    [ ]{0,' 
$less_than_tab '} [:][ ]    |
                    <dt> | \z
                )                        
            )                    
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
                (?:\n|\A)
                # 1: Opening marker
                (
                    ~{3,} # Marker: three tilde or more.
                )
                [ ]* \n # Whitespace and newline following marker.
                
                # 2: Content
                (
                    (?>
                        (?!\1 [ ]* \n)    # Not a closing marker.
                        .*\n+
                    )+
                )
                
                # Closing marker.
                \1 [ ]* \n
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^\n+/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'/^B\x1A[0-9]+B|^C\x1A[0-9]+C$/'
1
  • /modules/userguide/vendor/markdown/markdown.php
'{
            ^[ ]{0,' 
$less_than_tab '}\[\^(.+?)\][ ]?:    # note_id = $1
              [ ]*
              \n?                    # maybe *one* newline
            (                        # text = $2 (no blank lines allowed)
                (?:                    
                    .+                # actual text
                |
                    \n                # newlines but 
                    (?!\[\^.+?\]:\s)# negative lookahead for footnote marker.
                    (?!\n+[ ]{0,3}\S)# ensure line is not blank and followed 
                                    # by non-indented content
                )*
            )        
            }xm'
1
  • /modules/userguide/vendor/markdown/markdown.php
'~\b(?:[\w-]+://?|www[.])[^\s()<>]+(?:\([\w\d]+\)|(?:[^[:punct:]\s]|/))~'
1
  • /modules/codebench/classes/Bench/GruberURL.php
'/([^\[]*+)\[(.*)\]/'
1
  • /modules/codebench/classes/Bench/ArrCallback.php
'~[^-a-z0-9]+~i'
1
  • /modules/codebench/classes/Bench/Transliterate.php
'/[\W_]+/'
1
  • /system/classes/Kohana/Form.php
'#' preg_quote($search) . '[^0-9.]*+([0-9.][0-9.a-z]*)#i'
1
  • /system/classes/Kohana/Text.php
'/(?:^\[)?[a-zA-Z0-9-:\]_]+\.?/'
1
  • /system/classes/Kohana/URL.php
'~([^/#]+)~'
1
  • /system/classes/Kohana/URL.php
'![^' preg_quote($separator) . 'a-z0-9\s]+!'
1
  • /system/classes/Kohana/URL.php
'![^' preg_quote($separator) . '\pL\pN\s]+!u'
1
  • /system/classes/Kohana/URL.php
'![' preg_quote($separator) . '\s]+!u'
1
  • /system/classes/Kohana/URL.php
'#^' $trusted_host '$#uD'
1
  • /system/classes/Kohana/URL.php
'/(-?[0-9]++(?:-(?![0-9]++))?)(?:-?([0-9]++))?/'
1
  • /system/classes/Kohana/Response.php
'/^([^\(]*+)\((.*)\)$/'
1
  • /system/classes/Kohana/Arr.php
'/^([0-9]+(?:\.[0-9]+)?)(' $accepted ')?$/Di'
1
  • /system/classes/Kohana/Num.php
'~(?<!\n)\n(?!\n)~'
1
  • /system/classes/Kohana/Text.php
'/^[^@]++@/'
1
  • /system/classes/Kohana/Valid.php
'/^' $cards[$type]['prefix'] . '/'
1
  • /system/classes/Kohana/Valid.php
'/^\pL++$/uD'
1
  • /system/classes/Kohana/Valid.php
'/^[\pL\pN]++$/uD'
1
  • /system/classes/Kohana/Valid.php
'/^[-\pL\pN_]++$/uD'
1
  • /system/classes/Kohana/Valid.php
'/^[-a-z0-9_]++$/iD'
1
  • /system/classes/Kohana/Valid.php
'/^\pN++$/uD'
1
  • /system/classes/Kohana/Valid.php
'/^[+-]?[0-9]' $digits preg_quote($decimal) . '[0-9]{' . ((int) $places) . '}$/D'
1
  • /system/classes/Kohana/Valid.php
'/\s+/u'
1
  • /system/classes/Kohana/Upload.php
"%
            ((?:</?(?:a|em|span|strong|i|b)[^>]*>)|[^<>\s]) # must be proceeded by an approved inline opening or closing tag or a nontag/nonspace
            \s+                                             # the space to replace
            ([^<>\s]+                                       # must be flollowed by non-tag non-space characters
            \s*                                             # optional white space!
            (</(a|em|span|strong|i|b)>\s*)*                 # optional closing inline tags with optional white space after each
            ((</(p|h[1-6]|li|dt|dd)>)|$))                   # end with a closing p, h1-6, li or the end of the string
        %x"
1
  • /system/classes/Kohana/Text.php
'~(</?' $no_p '[^>]*+>)</p>~i'
1
  • /system/classes/Kohana/Text.php
'/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]+/S'
1
  • /system/classes/Kohana/UTF8.php
'/^\s*+(?:\S++\s*+){1,' $limit '}/u'
1
  • /system/classes/Kohana/Text.php
'/[^aeioudgkprt]hes$/'
1
  • /system/classes/Kohana/Inflector.php
'/[^aeiou]ies$/'
1
  • /system/classes/Kohana/Inflector.php
'/[sxz]$/'
1
  • /system/classes/Kohana/Inflector.php
'/[^aeioudgkprt]h$/'
1
  • /system/classes/Kohana/Inflector.php
'/[^aeiou]y$/'
1
  • /system/classes/Kohana/Inflector.php
'/[\s_]+/'
1
  • /system/classes/Kohana/Inflector.php
'/([a-z])([A-Z])/'
1
  • /system/classes/Kohana/Inflector.php
'/[_-]+/'
1
  • /system/classes/Kohana/Inflector.php
'/^(?:jpe?g|png|[gt]if|bmp|swf)$/'
1
  • /system/classes/Kohana/File.php
'/^.{0,' $limit '}\s/us'
1
  • /system/classes/Kohana/Text.php
'~<p>(?=</?' $no_p '[^>]*+>)~i'
1
  • /system/classes/Kohana/Text.php
'#(?<!:)//+#'
1
  • /system/classes/Kohana/Text.php
'~\b(?<!href="|">)(?:ht|f)tps?://[^<\s]+(?:/|\b)~i'
1
  • /system/classes/Kohana/Text.php
'~\b(?<!://|">)www(?:\.[a-z0-9][-a-z0-9]*+)+\.[a-z]{2,6}[^<\s]*\b~i'
1
  • /system/classes/Kohana/Text.php
'~\b(?<!href="mailto:|58;)(?!\.)[-+_a-z0-9.]++(?<!\.)@(?![-.])[-a-z0-9.]+(?<!\.)\.[a-z]{2,6}\b(?!</a>)~i'
1
  • /system/classes/Kohana/Text.php
'~^[ \t]+~m'
1
  • /system/classes/Kohana/Text.php
'~[ \t]+$~m'
1
  • /system/classes/Kohana/Text.php
'~^<' $no_p '[^>]*+>~im'
1
  • /system/classes/Kohana/Text.php
'~</' $no_p '\s*+>$~im'
1
  • /system/classes/Kohana/Text.php
'~\n{2,}~'
1
  • /system/classes/Kohana/Text.php
'/[^\x00-\x7F]/S'
1
  • /system/classes/Kohana/UTF8.php
'/^-?+(?=.*[0-9])[0-9]*+' preg_quote($decimal) . '?+[0-9]*+$/D'
1
  • /system/classes/Kohana/Valid.php
'/[^\x00-\x7F]+/S'
1
  • /system/classes/Kohana/UTF8.php
'/^\d+/'
1
  • /modules/codebench/classes/Bench/LtrimDigits.php
'/(?<=^|[\x0c\x09\x0b\x0a\x0d\x20])[^\x0c\x09\x0b\x0a\x0d\x20]/u'
1
  • /system/utf8/ucwords.php
'/^\s*\* ?/m'
1
  • /modules/minion/classes/Kohana/Minion/Task.php
'/^@(\S+)(?:\s*(.+))?$/'
1
  • /modules/minion/classes/Kohana/Minion/Task.php
'/^[A-Z_-]+$/'
1
  • /modules/unittest/classes/Kohana/Unittest/Helpers.php
'~\0+~'
1
  • /modules/codebench/classes/Bench/StripNullBytes.php
'~(?<!!)\[(.+?)\]\(([^#]\S*(?:\s*".+?")?)\)~'
1
  • /modules/codebench/classes/Bench/MDDoBaseURL.php
'~(?<!!)\[(.+?)\]\((?!\w++://)([^#]\S*(?:\s*+".+?")?)\)~'
1
  • /modules/codebench/classes/Bench/MDDoBaseURL.php
'~(?<!!)(\[.+?\]\()(?!\w++://)([^#]\S*(?:\s*+".+?")?\))~'
1
  • /modules/codebench/classes/Bench/MDDoBaseURL.php
'!\b' preg_quote($match) . '\b!'
1
  • /modules/codebench/classes/Bench/AutoLinkEmails.php
'~\b(?<!href="mailto:|">|58;)(?!\.)[-+_a-z0-9.]++(?<!\.)@(?![-.])[-a-z0-9.]+(?<!\.)\.[a-z]{2,6}\b~ie'
1
  • /modules/codebench/classes/Bench/AutoLinkEmails.php
'/^#?([0-9a-f]{1,2}){3}$/iD'
1
  • /modules/codebench/classes/Bench/ValidColor.php
'#' Route::REGEX_ESCAPE '#'
1
  • /system/classes/Kohana/Route.php
'/^#?([0-9a-f]){3}(([0-9a-f]){3})?$/iD'
1
  • /modules/codebench/classes/Bench/ValidColor.php
'/^#?(?:[0-9a-f]{1,2}+){3}$/iD'
1
  • /modules/codebench/classes/Bench/ValidColor.php
'/^#?[0-9a-f]{3}(?:[0-9a-f]{3})?$/iD'
1
  • /modules/codebench/classes/Bench/ValidColor.php
'/^#?+(?:[0-9a-f]{1,2}+){3}$/iD'
1
  • /modules/codebench/classes/Bench/ValidColor.php
'/^#?+[0-9a-f]{3}(?:[0-9a-f]{3})?\z/i'
1
  • /modules/codebench/classes/Bench/ValidColor.php
'/\A#?+[0-9a-f]{3}(?:[0-9a-f]{3})?\z/i'
1
  • /modules/codebench/classes/Bench/ValidColor.php
'/{{(\S+?)}}/m'
1
  • /modules/codebench/classes/Bench/MDDoIncludeViews.php
'/(?<={{)[^\s{}]++(?=}})/'
1
  • /modules/codebench/classes/Bench/MDDoIncludeViews.php
'~!\[(.+?)\]\((\S*(?:\s*".+?")?)\)~'
1
  • /modules/codebench/classes/Bench/MDDoImageURL.php
'~!\[(.+?)\]\((?!\w++://)(\S*(?:\s*+".+?")?)\)~'
1
  • /modules/codebench/classes/Bench/MDDoImageURL.php
'/[' $charlist ']++$/uD'
1
  • /system/utf8/rtrim.php
'/^\pL$/u'
1
  • /public/install.php
'/(.*?)' preg_quote($search'/') . '/s'
1
  • /system/utf8/str_ireplace.php
'/^[' $charlist ']+/u'
1
  • /system/utf8/ltrim.php
'#(?:' Route::REGEX_KEY '|' Route::REGEX_GROUP ')#'
1
  • /system/classes/Kohana/Route.php
'#//+#'
1
  • /system/classes/Kohana/Route.php
'/' $regex '/us'
1
  • /system/utf8/substr.php
'/([\w-]+)\s*(;.*q.*)?/'
1
  • /system/classes/Kohana/HTTP/Header.php
'#<img\s.*?(?:src\s*=\s*["\']?([^"\'<>\s]*)["\']?[^>]*)?>#is'
1
  • /system/classes/Kohana/Security.php
'/^(.*?)' preg_quote($search_lower'/') . '/s'
1
  • /system/utf8/stristr.php
'/^(.?)(.*)$/us'
1
  • /system/utf8/ucfirst.php
'/(\w+\/\d\.\d) (\d{3})/'
1
  • /system/classes/Kohana/Request/Client/Stream.php
'/.{' $split_length '}|[^\x00]{1,' $split_length '}$/us'
1
  • /system/utf8/str_split.php
'/^<([\w:$]*)\b/'
2
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
'~\b(\;\s*+)?q\s*+=\s*+([.0-9]+)~'
2
  • /system/classes/Kohana/HTTP/Header.php
  • /system/classes/Kohana/HTTP/Header.php
'#[-[\].:\\\\^/]#'
2
  • /system/utf8/strspn.php
  • /system/utf8/strcspn.php
'/\s+/'
2
  • /system/classes/Kohana/Inflector.php
  • /modules/userguide/classes/Kohana/Kodoc/Method/Param.php
'~^(?:[-a-z0-9+.]++://[^/]++/?)?([^?#]++)?(\?[^#]*+)?(#.*)?~'
2
  • /modules/codebench/classes/Bench/URLSite.php
  • /modules/codebench/classes/Bench/URLSite.php
'/{{([^\s{}]++)}}/'
2
  • /modules/codebench/classes/Bench/MDDoIncludeViews.php
  • /modules/userguide/classes/Kohana/Kodoc/Markdown.php
'/^#?+[0-9a-f]{3}(?:[0-9a-f]{3})?$/iD'
2
  • /system/classes/Kohana/Valid.php
  • /modules/codebench/classes/Bench/ValidColor.php
'~(!\[.+?\]\()(?!\w++://)(\S*(?:\s*+".+?")?\))~'
2
  • /modules/codebench/classes/Bench/MDDoImageURL.php
  • /modules/userguide/classes/Kohana/Kodoc/Markdown.php
'#[-\[\]:\\\\^/]#'
2
  • /system/utf8/ltrim.php
  • /system/utf8/rtrim.php
'(' implode('|'$badwords) . ')'
2
  • /system/classes/Kohana/Text.php
  • /system/classes/Kohana/Text.php
'
            {
                \s*            # Eat whitespace before the `markdown` attribute
                markdown
                \s*=\s*
                (?>
                    (["\'])        # $1: quote delimiter        
                    (.*?)        # $2: attribute value
                    \1            # matching delimiter    
                |
                    ([^\s>]*)    # $3: unquoted attribute value
                )
                ()                # $4: make $3 always defined (avoid warnings)
            }xs'
2
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
'/\n{2,}/'
2
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
'/\D+/'
2
  • /system/classes/Kohana/Valid.php
  • /system/classes/Kohana/Valid.php
'~^

            # scheme
            [-a-z0-9+.]++://

            # username:password (optional)
            (?:
                    [-a-z0-9$_.+!*\'(),;?&=%]++   # username
                (?::[-a-z0-9$_.+!*\'(),;?&=%]++)? # password (optional)
                @
            )?

            (?:
                # ip address
                \d{1,3}+(?:\.\d{1,3}+){3}+

                | # or

                # hostname (captured)
                (
                         (?!-)[-a-z0-9]{1,63}+(?<!-)
                    (?:\.(?!-)[-a-z0-9]{1,63}+(?<!-)){0,126}+
                )
            )

            # port (optional)
            (?::\d{1,5}+)?

            # path (optional)
            (?:/.*)?

            $~iDx'
2
  • /system/classes/Kohana/Valid.php
  • /modules/codebench/classes/Bench/ValidURL.php
'{^- }'
2
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/classes/Kohana/Kodoc/Markdown.php
'{F\x1Afn:(.*?)\x1A:}'
2
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
'/(\w[^\s:]*):[ ]*([^\r\n]*(?:\r\n[ \t][^\r\n]*)*)/'
2
  • /system/classes/Kohana/HTTP.php
  • /system/classes/Kohana/HTTP/Header.php
"/\n{2,}\\z/"
2
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
'/^[^' $mask ']+/u'
2
  • /system/utf8/strspn.php
  • /system/utf8/strcspn.php
'~\b(?<!href="mailto:|">|58;)(?!\.)[-+_a-z0-9.]++(?<!\.)@(?![-.])[-a-z0-9.]+(?<!\.)\.[a-z]{2,6}\b~i'
3
  • /modules/codebench/classes/Bench/AutoLinkEmails.php
  • /modules/codebench/classes/Bench/AutoLinkEmails.php
  • /modules/codebench/classes/Bench/AutoLinkEmails.php
'/./us'
3
  • /system/utf8/strrev.php
  • /system/utf8/substr_replace.php
  • /system/utf8/substr_replace.php
'/[|] *$/m'
3
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
'/\A\n+|\n+\z/'
3
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
  • /modules/userguide/vendor/markdown/markdown.php
'~^[-a-z0-9+.]++://[^/]++/?~'
4
  • /system/classes/Kohana/URL.php
  • /modules/codebench/classes/Bench/URLSite.php
  • /modules/codebench/classes/Bench/URLSite.php
  • /modules/codebench/classes/Bench/URLSite.php