Overview
| Artifact ID: | 50a35efe94b12e1b19e7e6db122f1e82c5ac7463 |
|---|---|
| Ticket: | 1901640fffffffffffffffffffffffffffffffff
Regexp error |
| User & Date: | bdp67fr on 2008-02-27 02:13:06 |
Changes
- icomment:
Logged In: YES user_id=2019382 Originator: YES >dkf: I can't make the '+' quantifier greedy because $line can contain something like "def: a definition with a semi colon : right in the middle". So $tag will be "def: a definition with a semi colon " instead of "def". Anyway I have corrected my parser by using 2 separate regexp. >dgp : I have already read re_syntax and I think the problem is 'A branch has the same preference as the first quantified atom in it which has a preference'. But question is: why parenthesis aren't considered as new branches ? Does '|' have more precedence ?
- login: "bdp67fr"
- mimetype: "text/plain"
- username: "bdp67fr"