R
Roger Pack
Feedback on the following suggestion for ruby:
by default allow for adding regex's
i.e.=> /foobar/
Thoughts?
-r
by default allow for adding regex's
i.e.=> /foobar/
Thoughts?
-r
Feedback on the following suggestion for ruby:
by default allow for adding regex's
i.e.
=> /foobar/
Thoughts?
-r
--
a * b
is closer to
/(a)*(b)/
than anything else I could think of and that immediately implies:
a + b
becomes:
/(a)+(b)/
rather than just /(a)(b)/
The fact that + is a meaningful character in a Regexp makes a
universal meaning for it as an operation *on* regexps a bit ambiguous.
2009/10/26 Roger Pack said:That's what I'd guess for *, as well.
Yeah, or what |
means or what not. =A0I'd probably just stick with concatenation and not
even *define* *.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.