View Single Post
Old 02-14-2011, 06:02 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
understandng the sample add books regex

I am wanting to understand how exactly this works:
(?P<author>.+) - (?P<title>[^_]+)

I have followed the link to the tutorial & looked at other regex syntax summaries but am still not getting it

I don't see a definition of ?P anywhere, for example

could someone kindly break down how the above code works, please.
cybmole is offline   Reply With Quote