in reply to Sort on Number Embedded in String
try:
$_ =~ /fwlog\.(\d+)\w+/;
instead...
and then note that (unless you can guarantee that the data will never contain more than one month) this node is not helpful in the sense of providing a safe approach for production use.
|
---|