s/match/replace/; #The conventional way s|match|replace|; #Useful for urls that contain /s s(match)(replace); #matched braces
This gives you some flexibility with respect to the code that you are working with. Take care when using characters that are also used in regex notation.
In reply to Re: regexp: s/// vs s"""
by inman
in thread regexp: s/// vs s"""
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |