Re: Fwd: Emacs-like file buffers

2006-05-14 Thread Kevin Ryde
Bruce Korb <[EMAIL PROTECTED]> writes: > > #ifndef REG_BASIC > # define GUILE_REG_BASIC 0x1 > #else > # define GUILE_REG_BASIC REG_BASIC > #endif Hmm. Yes, if you're calling scm_make_regexp you need that or something similar. (To tell it not to force REG_EXTENDED by default.)

Re: Fwd: Emacs-like file buffers

2006-05-14 Thread Kevin Ryde
"Jason Meade" <[EMAIL PROTECTED]> writes: > > Is there a standard for regular expressions somewhere? Posix at http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html > an affinity for \w I think in posix [[:word:]] (or whatever the syntax actually is), but yes other stuff is

Re: Fwd: Emacs-like file buffers

2006-05-14 Thread Bruce Korb
Jason Meade wrote: Is there a standard for regular expressions somewhere? "a standard"? No. "are standards"? Yes. Many. Naturally, that is the problem. It seems like most implements (from grep through tcl, perl, and beyond) seem to agree on simple stuff like ^[a-c]?002*[^b]+$ etc... (not