Re: Guile regular expressions are too greedy [Solved]

2009-07-22 Thread Chris Dennis
Peter Brett wrote: Chris Dennis writes: Hello Guile People Is there a way to make Guile regular expressions less greedy? I understand that POSIX doesn't define non-greedy modifiers. Specifically, I'm trying to parse font names such as Arial 12 Arial Bold Italic 14 Nimbus Sans L

Re: Guile regular expressions are too greedy

2009-07-22 Thread Peter Brett
Chris Dennis writes: > Hello Guile People > > Is there a way to make Guile regular expressions less greedy? I > understand that POSIX doesn't define non-greedy modifiers. > > Specifically, I'm trying to parse font names such as > > Arial 12 > Arial Bold Italic 14 > Nimbus Sans L Bold

Re: Guile regular expressions are too greedy

2009-07-22 Thread Ludovic Courtès
Chris Dennis writes: > Unfortunately the name of the font really is "Nimbus Sans L" -- it's > the fact that font names can contain spaces that causes the problem, > and means that I can't use ([^ ]+) to match the font name. Aaah, I understand. Then it may be that POSIX regexps are too inflexibl

Re: Guile regular expressions are too greedy

2009-07-22 Thread Chris Dennis
Ludovic Courtès wrote: Hello, Chris Dennis writes: Hello Guile People Is there a way to make Guile regular expressions less greedy? I understand that POSIX doesn't define non-greedy modifiers. Specifically, I'm trying to parse font names such as Arial 12 Arial Bold Italic 14 N

Re: Guile regular expressions are too greedy

2009-07-22 Thread Ludovic Courtès
Hello, Chris Dennis writes: > Hello Guile People > > Is there a way to make Guile regular expressions less greedy? I > understand that POSIX doesn't define non-greedy modifiers. > > Specifically, I'm trying to parse font names such as > > Arial 12 > Arial Bold Italic 14 > Nimbus San

Guile regular expressions are too greedy

2009-07-22 Thread Chris Dennis
Hello Guile People Is there a way to make Guile regular expressions less greedy? I understand that POSIX doesn't define non-greedy modifiers. Specifically, I'm trying to parse font names such as Arial 12 Arial Bold Italic 14 Nimbus Sans L Bold Italic Condensed 11 so that I can c