SPUG: your moment of regex zen..

Fred Morris m3047 at m3047.net
Wed Jan 12 13:10:53 PST 2011


I typed this while munging FQDNs (hostnames to normal folk) for subsequent use 
in regexes. Then I stared at it.

  s/[.]/[.]/go

Yes, it does do something.

--

Fred the internet plumber



More information about the spug-list mailing list