Tag: regex

Articles

Working with Regular Expressions in Perl

Matching with Regular Expressions (Regex) Modifiers /i # case insensitive /s # match any character, regardless of newlines /x # ignore whitespace. Example, to match floating point numbers: -? # optional minus sign \d+ # one or more digits \.? # optional decimal point \d* # zero or more optional digits after decimal point /x […]

Read article : Working with Regular Expressions in Perl