Mega Code Archive

 
Categories / Perl / Regular Expression
 

Options for the substitution operator

Option      Description  g           Change all occurrences of the pattern  i           Ignore case in pattern  e           Evaluate replacement string as expression  m           Treat string to be matched as multiple lines  o           Evaluate only once  s           Treat string to be matched as single line  x           Ignore white space in pattern