Regular expression examples: Difference between revisions

Content deleted Content added
Fixed a useless link (presumably caused by technical limitations of the MediaWiki syntax)
Line 12:
metacharacter(s) ;; the metacharacters column specifies the regex syntax being demonstrated
=~ m// ;; indicates a regex '''match''' operation in [[Perl]]
=~ s<nowiki>///</nowiki> ;; indicates a regex '''substitution''' operation in Perl
 
Also worth noting is that these regular expressions are all Perl-like syntax. Standard [[Regular_expression#POSIX_Basic_Regular_Expressions|POSIX]] regular expressions are different.