1234852Sbaptdnl $FreeBSD$ 2234852Sbaptdnl $OpenBSD: src/regress/usr.bin/m4/patterns.m4,v 1.4 2003/06/08 20:11:45 espie Exp $ 3234852Sbaptpatsubst(`quote s in string', `(s)', `\\\1') 4234852Sbaptpatsubst(`check whether subst 5234852Sbaptover several lines 6234852Sbaptworks as expected', `^', `>>>') 7234852Sbaptpatsubst(`# This is a line to zap 8234852Sbapt# and a second line 9234852Sbaptkeep this one', `^ *#.* 10234852Sbapt') 11234852Sbaptdnl Special case: empty regexp 12234852Sbaptpatsubst(`empty regexp',`',`a ') 13