News for hackers. Stuff that matters.
Re:Just released a major update for my site. What do you guy... by natch on Sunday July 21, 2013 @10:40AM (#6078916)
Nice, this could be really useful for beginners. I tried the "random regexp" feature and it showed one that used \P<Given> and \P<Middle>, among other things. I have used named capture groups a bit I wasn't aware of these, and was wondering where they came from.

Which leads me to the problem I had with the site.

I was hoping for a way to easily (one click) get to the documentation for each of these. It seemed strange that a given name pattern could work for any human language, so I was trying to work out how this would be done. Eventually I found the tables at the bottom (with Advanced and Tricks tabs) but clicking on the links in there just adds the items to my current expression.. what I was hoping for was a direct link to some docs for the specific item (not a general link to the top level of some huge document).

Re:Just released a major update for my site. What do you guy... by Lindrian on Sunday July 21, 2013 @11:58AM (#6079165)
Hmm, the explanation part does part of what you're asking. However, I don't know of any straight forward documentation that I can link to that will explain each and every one of these tokens. I have just read through pcre.txt many times and implemented stuff from there. If you know a source I can use I will look into it.