julian@UHCCUX.UHCC.HAWAII.EDU (Julian Cowley) (01/20/90)
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.