Re: [Factor-talk] How do I construct a sequence from values onthestack

2010-11-17 Thread Jeff C. Britton
of slices/f dup [ boolean ] all? [ [ string ] map ] [ not matched print ] if --Jeff -Original Message- From: Jon Harper [mailto:jon.harpe...@gmail.com] Sent: Wednesday, November 17, 2010 2:08 AM To: factor-talk@lists.sourceforge.net Subject: Re: [Factor-talk] How do I construct

Re: [Factor-talk] How do I construct a sequence from values onthestack

2010-11-17 Thread Chris Double
On Thu, Nov 18, 2010 at 12:52 PM, Jeff C. Britton j...@iteris.com wrote: I have a string that I want to match against a regular expression. However, group capture is not supported :( Here's an approach using peg.ebnf. You'll also need math.parser for 'stringnumber' and peg for 'ignore'. EBNF: