Simplified syntax for (?:foo)?
Bug #655420 reported by
marcog
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
New
|
Wishlist
|
Unassigned |
Bug Description
We often use "(?:foo)?" in our regular expressions. Since we started doing some preprocessing of them (e.g. " " => "\s+"), how about translating something like "{foo}" into "(?:foo)?"? Unfortunately we already use {} for {chunk}, so we might want to avoid the collision. But I'm sure we could find something else.
To post a comment you must log in.