Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!UHCCUX.UHCC.HAWAII.EDU!julian From: julian@UHCCUX.UHCC.HAWAII.EDU (Julian Cowley) Newsgroups: gnu.utils.bug Subject: Use of b in e?grep 1.5 Message-ID: <9001200838.AA29143@uhccux.uhcc.Hawaii.Edu> Date: 20 Jan 90 08:38:16 GMT Sender: news@tut.cis.ohio-state.edu Distribution: gnu Organization: University of Hawaii at Manoa Lines: 17 I'm having problems using e?grep 1.5 on a Vax 8650 (berkeley-unix) with the regards to \b. The manual says that \b matches the empty string at the beginning of a word, but I can't seem to get it to work: % grep '\bto\w*' prog.c I'm trying to match the functions toupper, tolower, etc., in a program. However, grep doesn't seem to match anything, when there are definitely instances of such functions in the program. Additionally, GNU Emacs works correctly when given the same regexp. Is this a bug or just a misunderstanding? julian@uhccux.uhcc.hawaii.edu julian@uhccux.bitnet The number of spelling errors in an article is indirectly proportional to the time since you posted it.