in reply to perl code question
There are several ways to find out what an regular expression will do. Often the easiest way is to try yourself (as already suggested by cjb).
However you could also let some software explain it to you. I prefer this online resource.
HTH, Rata
P.S.: Have you tried to enter regex explain to the search-field on the top of this page yet?
|
|---|