Quote:
Originally Posted by unSpawn
ip or number form matches
Something like "[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" ?
|
/th\a\t\'s ea/\sy f\\or/\\/{you\} to s\\\{{ay\}.....
I thought C was the champion in terms of writing incomprehensible code.
Note that, if you turn on extended REs, eg with egrep, you can shed some "\"s before the "{}"s.
Also, can you not do something like:
"([0-9]{1,3}.){3}[0-9]{1,3}"?
(I have not tried this, so i am using it only to ask the question)