Xref: utzoo gnu.emacs.help:1974 comp.emacs:10677 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!tut.cis.ohio-state.edu!unreplyable!garbage From: gray@scr.slb.com (Douglas Gray-Stephens) Newsgroups: gnu.emacs.help,comp.emacs Subject: Probelm with regualr expressions Message-ID: <9105081030.AA20570@plum.scr.slb.com> Date: 8 May 91 10:30:06 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.emacs.help Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu Lines: 34 I am having problems with searching for a regular expression, using either isearch-forward-regexp, or re-search-forward. Consider the following line:- #rawtest5# locating the pointer before the line, and evaluating:- (re-search-forward " #[^ \\n\\t]+") will leave the pointer after on the first t i.e. #rawtest5# ^ and returns "t". However evaluating:- (re-search-forward " #[^ \\n\\t]+s") fails, with the message:- Search failed: " #[^ \\n\\t]+s" If this is a feature of regular expressions, can it be explained; or is it a bug? I am running emacs under SunOS 4.0.3, and the "problem" occurs under either emacs version 18.52 or 18.55. Thanks in advance, Douglas Gray Stephens.