Regular Expressions 101

Community Patterns

constant.other.symbol.ruby

1

Regular Expression
PCRE (PHP <7.3)

/
(?<!:)(:)(?>[a-zA-Z_]\w*(?>[?!]|=(?![>=]))?|===?|>[>=]?|<[<=]?|<=>|[%&`\/\|]|\*\*?|=?~|[-+]@?|\[\]=?|@@?[a-zA-Z_]\w*)
/

Description

no description available

Submitted by anonymous - 8 years ago