Regular Expressions 101

Sponsors

Library entries

1
pcre

Polynomial matcher

Matches every polynomial you want ;)
Submitted by Stefan Baumann - 7 years ago
0
pcre

brian

no description available
Submitted by anonymous - 7 years ago
1
pcre

test

test
Submitted by test - 7 years ago
1
pcre

regex

no description available
Submitted by anonymous - 7 years ago
-3
pcre

asdfasfdasdfasdffasdf

asdfasdfadfasddfasdfadsaf
Submitted by afdsadsfasdfadsf - 7 years ago
0
python

UAE Phone Numbers

no description available
Submitted by Sebastian - 7 years ago
0
pcre

File name

no description available
Submitted by anonymous - 7 years ago
1
pcre

guto

gutoregex
Submitted by guto - 7 years ago

How to document a Regex? Example 2

Vote

1

Regular Expression
pcre

/
((?# Capturing group for the type name) \/+(?# Start with / or // ) [^\/\[\]]+(?# Type name exclusing start of attribute and next type) (?:(?# Non-capturing group for the attribute) \[(?# Start of an attribute) [^\]']*(?# Anything but end of attribute or start of string) (?:(?# non-capturing group for string) '(?# string start) [^']*(?# anything inside the string, except end of string) '(?# string end) )(?# end of string group) \](?# end of attribute) )?(?# Attribute can occur 0 or one time) )+(?# Type can occur once or many times)
/

Description

Loading markdown...
Submitted by Thomas - 8 years ago