Regular Expressions 101

Library entries

0
pcre

strip host port

removes port number from URL
Submitted by pc - 9 days ago
0
pcre

Proxy Matcher

Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by dev.tntd2k2 - 12 days ago
0
pcre

latlonlatlon

gg
Submitted by anonymous - 13 days ago
1
golang

Home

Dj dus er geen je een je aan je enige eerst een he we er
Submitted by Webmaster - 23 days ago
1
pcre

ENEL T5 Mono

T
Submitted by anonymous - 24 days ago
0
golang

Get digits

Trying to get digits
Submitted by Arthur Silva - a month ago
0
golang

walter1976LastClean

walter1976LastClean
Submitted by anonymous - a month ago
0
pcre

Example 1.1: Pet Name

Example used in slide 39
Submitted by anonymous - a month ago
0
pcre

i++ in bash

asdf
Submitted by anonymous - a month 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