digitalmars.D.learn - Regexp help (possible bug?)
- gareis (15/15) May 26 2007 ---
- gareis (7/7) May 26 2007 Argh -- forget that. I forget that regexps require an extra level of esc...
- Jarrett Billingsley (7/12) May 26 2007 If you use WYSIWYG strings, you can avoig the ugly double escaping:
- Deewiant (4/6) May 26 2007 http://en.wikipedia.org/wiki/Number_sign
- Don Clugston (3/9) May 29 2007 Where I come from, 'pound sign' has always meant ₤, and # is 'hash'.
- Jarrett Billingsley (5/8) May 29 2007 Oh I guess that's called a pound sign too, but whenever you say "pound s...
- Chris Nicholson-Sauls (3/13) May 29 2007 I've oft heard it called a "Sterling".
- davidb (6/15) May 26 2007 ---
--- import std.regexp; int main () { char[] foo = "foo = bar"; return 0; } --- This outputs "Error: invalid range". According to the documentation, this not preceded by a backslash. Adding an octalthorpe doesn't help matters; it produces the same error. Also, adding the attribute argument doesn't help. With an example this small, I think this is probably a bug, but I'd like to check here before submitting a report -- am I doing something wrong?
May 26 2007
Argh -- forget that. I forget that regexps require an extra level of escaping; that should have been: --- --- This is why I ask now rather than submitting bug reports first. Thanks!
May 26 2007
"gareis" <dhasenan gmail.com> wrote in message news:f399o6$n1f$1 digitalmars.com...Argh -- forget that. I forget that regexps require an extra level of escaping; that should have been: ---If you use WYSIWYG strings, you can avoig the ugly double escaping: or I've also never heard of a pound sign being called an "octalthorpe"?
May 26 2007
Jarrett Billingsley wrote:I've also never heard of a pound sign being called an "octalthorpe"?http://en.wikipedia.org/wiki/Number_sign -- Remove ".doesnotlike.spam" from the mail address.
May 26 2007
Deewiant wrote:Jarrett Billingsley wrote:(BTW, what do you call ₤?)I've also never heard of a pound sign being called an "octalthorpe"?http://en.wikipedia.org/wiki/Number_sign
May 29 2007
"Don Clugston" <dac nospam.com.au> wrote in message news:f3grec$uqq$1 digitalmars.com...Oh I guess that's called a pound sign too, but whenever you say "pound sign" so.what do you call ??)
May 29 2007
Jarrett Billingsley wrote:"Don Clugston" <dac nospam.com.au> wrote in message news:f3grec$uqq$1 digitalmars.com...I've oft heard it called a "Sterling". -- Chris Nicholson-Saulswhat do you call ??)Oh I guess that's called a pound sign too, but whenever you say "pound sign" so.
May 29 2007
gareis schrieb:Argh -- forget that. I forget that regexps require an extra level of escaping; that should have been: --- --- This is why I ask now rather than submitting bug reports first. Thanks!--- --- works as well david
May 26 2007