
| Key: |
BOO-712
|
| Type: |
New Feature
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Snaury
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Boo
Created: 05/Apr/06 06:00 AM
Updated: 31/May/06 07:48 AM
|
|
| Component/s: |
Parser,
Compiler
|
| Affects Version/s: |
None
|
| Fix Version/s: |
None
|
|
Currently, when I want to use regex options, like RegexOptions.Compile, I have to import System.Text.RegularExpressions, because while Regex type has alias regex, RegexOptions does not. It would be great if regex syntax is extended like this:
And letters following regular expression are automatically converted into appropriate RegexOptions. All of the letters, except c (Compile) are standard and can be used inline (?[imnsx]), but sadly, c is not there, which is what I use most.
|
|
Description
|
Currently, when I want to use regex options, like RegexOptions.Compile, I have to import System.Text.RegularExpressions, because while Regex type has alias regex, RegexOptions does not. It would be great if regex syntax is extended like this:
And letters following regular expression are automatically converted into appropriate RegexOptions. All of the letters, except c (Compile) are standard and can be used inline (? [imnsx]), but sadly, c is not there, which is what I use most. |
Show » |
|