Regular Expressions 101

Library entries

Annotations class regex het splitten gaat niet dus we laten het zo staan.

Vote

0

Regular Expression
pcre

/
[*\s]* # multiple space or asterisk characters @ # followed by the @ sign which (?P<name>[\w\\]+) # has a string of \w or \ characters following it \s*\(? # separated by spaces and maybe opening parenthesis (?P<value> # store the value attached to the named annotation (?: [^@]* # value is made of enlisted characters [^*\s)] # but does not end with ) )? # the value is optional parameter (?:\s|\n|\))
/
gsxmu

Description

Loading markdown...
Submitted by anonymous - 2 years ago