Operators

=~ Comparison operator takes a string on the left and an extended regular expression on the right. It returns 0 (success) if the regular expression matches the string, otherwise it returns 1 (failure)
| = OR
s = Substitute
g = Many times on the same line

Leave a Reply