[Geany-devel] [Patch] - Improve PHP parser (call tips)

Enrico Tröger enrico.troeger at xxxxx
Mon Mar 8 22:40:08 UTC 2010


On Mon, 8 Mar 2010 12:18:39 +0000, Nick wrote:

>On Sun, 7 Mar 2010 19:20:37 +0100
>Enrico Tröger <enrico.troeger at uvena.de> wrote:
>
>> >You put a weird pattern:
>> >[public|protected|private|static]*
>> >If you wanted to group, you should use ()
>> 
>> I didn't want to group, we don't need to know the actual modifier, we
>> just want to allow only this subset. And yes, it was a group before
>> but there is just no need to.
>
>I think Can is right, [] brackets are only for character ranges, not
>string matching. So () brackets are necessary for matching even when
>ignoring the group.

Just for the records:

Yup, we talked about that yesterday afterwards on IRC and once he told
me about that mistake, it was clear.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100308/8c7529ef/attachment.pgp>


More information about the Devel mailing list