echo 12.34.56.78 | perl -MSocket -ne "printf('%08X',unpack('N',inet_aton(\$_)))"Sometimes people get caught up in a situation not unlike "when all you have is a regex, everything looks like a pattern". Especially with e-mail addresses and URLs.
In reply to Re: extracting variables from regex
by tadman
in thread extracting variables from regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |