Re: regex support

2005-04-28 Thread Llewelly
Ryan Bowman <[EMAIL PROTECTED]> writes: > Does emacs support the regex syntax {4} or any of it's > variants? Yes. See C-h i g (emacs)Regexps However you need to put a backslash before the curly braces: \{4]\} instead of {4} > I'd like to match a date a la 2005-04-19, > so I'm trying (for the y

Re: regex support

2005-04-28 Thread Peter Dyballa
Am 28.04.2005 um 23:29 schrieb Ryan Bowman: so I'm trying (for the year part) something like "[0-9]{4}" This should work: "[0-9]\{4\}" -- and this too: C-h i m Emacs RET m Regexps RET. -- Greetings Pete The human brain operates at only 10% of its capacity. The rest is overhead for the operatin

Re: regex support

2005-04-28 Thread Daniel Wright
Ryan Bowman <[EMAIL PROTECTED]> writes: > Does emacs support the regex syntax {4} or any of it's > variants? I'd like to match a date a la 2005-04-19, > so I'm trying (for the year part) something like > "[0-9]{4}", but unless I'm doing something wrong it > doesn't seem to be working. Assuming i