[Wolves] Pay-for music download sites

David Goodwin david at codepoets.co.uk
Wed Jun 16 06:41:10 BST 2004



> Nope, you've not captured anything. '\b' marks a word boundary, but the
> regex will not match the string you want. Try:
>
> if($tmp =~ /cs:(.*?) st:/) {
>
> The capture '()' will do a non-greedy match '.*?', although in most cases
> you can just do a greedy match '.*'.
>

Ah hah. Thank you :)

David.

-- 

http://codepoets.co.uk/david




More information about the Wolves mailing list