RE: threads?

2010-10-12 Thread philippe.beauchamp
Although anecdotal, I've heard good things about Go's "channel" mechanism as a simple lightweight concurrency model and a good alternative to typical threading. Channels are first-class in the language and leverage simple "goroutine" semantics to invoke concurrency. --- Phil -Original M

RE: regex and

2010-08-10 Thread philippe.beauchamp
Back to your original advice... > If you want to match an alphabetic string which does not include 'abc' > anywhere, you can write this as > > ^ [ ]* $ I presume this only works here because is one character... if instead of I used anything more complicated (for example) token name {

RE: regex and

2010-08-10 Thread philippe.beauchamp
Great! That does it. Thanks. :) I realized my error on the anchors after sending... but didn't think of the * on the grouping. On the & operator... are you saying that it would operate basically as expected... allowing sets of rules and'ed rather than or's with the | ? --- Phil -Origin

regex and

2010-08-10 Thread philippe.beauchamp
Hi there... New to the list and getting to understand perl6 after a bit of a hiatis from the Perl world. I'm working my way through the new grammar syntax trying to implement some useful modules, and was wondering if there is a mechanism within the grammar constructs to allow two rules to appl