Keeper wrote:
> This right here is what I meant by "I'm no regex expert".

Well, it looks like this also applies to other persons, as the change  
is unnecessarily expensive.

> if ($s_output =~ s/^(?:.*?)?L (\d\d)\/(\d\d)\/(\d{4}) -
> (\d\d):(\d\d):(\d\d):\s*//)

if ($s_output =~ s/^.*?L (\d\d)\/(\d\d)\/(\d{4}) - (\d\d):(\d\d):(\d\d):\s*//)

would suffice to get a non-greedy match.

Cheers, Daniel


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to