GilliGan
[ class tree: GilliGan ] [ index: GilliGan ] [ all elements ]

Procedural File: RegExpConstants.inc.php

Source Location: /RegExpConstants.inc.php



Page Details:



Tags:

filesource:  Source Code for this file







DOUBLE_QUOTATION_STRING [line 41]

DOUBLE_QUOTATION_STRING = "(?:\".*?[^\\\\](?:\\\\\\\\)*\")"
Identify strings that are in double quotation in a text.


[ Top ]



EMAIL [line 66]

EMAIL = "[-a-zA-Z0-9_.]+@"."(([-a-zA-Z0-9]+\\.)+".TOPLEVELDOMAIN."|\[?([0-9]{1,3}\.){3,3}"."[0-9]{1,3}\]?)"
Identify


[ Top ]



HEXCOLOR [line 56]

HEXCOLOR = "#[0-9a-fA-F]{6,6}"
Identify hexadecimal colors.


[ Top ]



INTEGER [line 31]

INTEGER = "(?:-?[1-9]\d*|0)"
Identify integer.


[ Top ]



ISOTIME [line 61]

ISOTIME = "([01]\d|2[0-3])(?::([0-5]\d)){1,2}"
Identify a time in ISO-format


[ Top ]



SINGLE_QUOTATION_STRING [line 36]

SINGLE_QUOTATION_STRING = "(?:'.*?[^\\\\](?:\\\\\\\\)*')"
Identify strings that are in single quotation in a text.


[ Top ]



TOPLEVELDOMAIN [line 15]

TOPLEVELDOMAIN = "(?i:(?i)"."com"."|edu"."|biz"."|in(?:t|fo)"."|mil"."|net"."|org"."|[a-z][a-z]".")"
Identify topleveldomains with a regular expression


[ Top ]



UNSIGNEDINTEGER [line 46]

UNSIGNEDINTEGER = "(?:[1-9]\d*|0)"
Identify positive integer.


[ Top ]



WEBCOLORNAMES [line 94]

WEBCOLORNAMES = "(?:(?i)"."Black"."|SlateGray"."|DarkGray"."|DimGray"."|Silver"."|Beige"."|WhiteSmoke"."|GhostWhite"."|SeaShell"."|Snow"."|Ivory"."|White"."|SandyBrown"."|BurlyWood"."|Peru"."|Sienna"."|SaddleBrown"."|Brown"."|Maroon"."|DarkRed"."|Red"."|FireBrick"."|Tomato"."|Coral"."|OrangeRed"."|Darkorange"."|Orange"."|Yellow"."|SpringGreen"."|MediumSpringGreen"."|YellowGreen"."|LawnGreen"."|Lime"."|LimeGreen"."|Green"."|ForestGreen"."|MediumSeaGreen"."|SeaGreen"."|OliveDrab"."|Olive"."|Navy"."|DarkCyan"."|Blue"."|MediumBlue"."|BlueViolet"."|DarkViolet"."|DarkOrchid"."|Indigo"."|DarkMagenta"."|Purple"."|VioletRed"."|PaleVioletRed"."|Plum"."|Violet".")"
Identify webcolor names


[ Top ]



WEBGRAPHICS [line 51]

WEBGRAPHICS = "[^/ &?=]+\.(?:(?i)gif|png|jpg|jpeg)"
Identify files of webgraphics.


[ Top ]



WEBSAFECOLOR [line 77]

WEBSAFECOLOR = "#("."[0369cCfF]{3,3}"."|("."00"."|33"."|66"."|99"."|[cC][cC]"."|[fF][fF]"."){3,3}".")"
Identify websafe colors.


[ Top ]




Documentation generated on Thu, 05 Jun 2008 19:14:50 +0200 by phpDocumentor 1.4.1