Bug Report #3006
Obsolete "+" char at Route class (?)
| Status: | Closed | Start date: | 06/26/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Core | |||
| Target version: | v3.0.7 | |||
| Resolution: | invalid | Points: |
Description
http://github.com/kohana/core/blob/master/classes/kohana/route.php#L39
http://github.com/kohana/core/blob/master/classes/kohana/route.php#L42
are they meaningful? what is the difference with "+" there?
History
Updated by Ivan Kurnosov almost 3 years ago
Oops, it is "possessive" quantifier.
Wrong ticket.
Updated by Geert De Deckere almost 3 years ago
- Status changed from New to Closed
- Resolution set to invalid
Right. It is a good idea to use possessive quantifiers whenever possible. It can save you some needless backtracking.
Updated by Woody Gilk almost 3 years ago
- Target version set to v3.0.7