Not tested at all: ^\d+(-\d+)?(:\d+(-\d+)?)?$
-j
Not tested at all: ^\d+(-\d+)?(:\d+(-\d+)?)?$
-j
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group, send email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
... which in no way can be something to blame REs for.
Screwing with a hammer is as wise as hammering with a screwdriver.
-j
... which in no way can be something to blame REs for.
Screwing with a hammer is as wise as hammering with a screwdriver.
I resemble that quote :-)
No war. Wanted to point out that the tool is not the culprit. A wrong choice of a tool is ;-)
-j
On Monday, January 28, 2013 1:06:48 PM UTC-6, Donovan wrote:I resemble that quote :-)I don't know man he may have a point.
resemble: to be like or similar to
Using regex may have caused you to express yourself irregularly ;)
I think he intended to say "resemble". "I resemble that remark" is a common quote (attributed variously to Groucho Marx and the Three Stooges).
My apologies for derailing the thread. In penance, I'll spend some time trying to grok your regex problem and see if I can help figure out where you're going astray. Can't do it until the morning, though, kids and wives take precedence over penance.
http://commandcenter.blogspot.com/2011/08/regular-expressions-in-lexing-and.html
-rob