good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Exact Regex for port Numberby QM (Parson) |
on Jun 19, 2018 at 07:41 UTC ( [id://1216915]=note: print w/replies, xml ) | Need Help?? |
Does the port number occur in a context that can also be matched or not matched? For instance, a look-behind might avoid matching a time, or you might match all dates with priority, then anything left might be a port number.
Please can you demonstrate sample strings? (Hopefully you have a full sense of the sample space.) -QM
In Section
Seekers of Perl Wisdom
|
|