Ticket #41 (closed defect: fixed)
Match capturing issues
| Reported by: | mooneer | Owned by: | mooneer |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | microregex | Version: | 1.0b1 |
| Keywords: | Cc: |
Description
import "System.regex";
str = "rowan@foobar.com";
rgx = make System.regex("([^\s]+)@([^\s]+)");
res = rgx|match(str);
res.captures|print;
=> [, rowan, foobar.com]
(should be rowan@… for [0])
Change History
Note: See
TracTickets for help on using
tickets.
