2b42644bb2
Obtained from: OpenBSD Approved by: des (mentor)
13 lines
372 B
Plaintext
13 lines
372 B
Plaintext
dnl $FreeBSD$
|
|
dnl $OpenBSD: src/regress/usr.bin/m4/patterns.m4,v 1.4 2003/06/08 20:11:45 espie Exp $
|
|
patsubst(`quote s in string', `(s)', `\\\1')
|
|
patsubst(`check whether subst
|
|
over several lines
|
|
works as expected', `^', `>>>')
|
|
patsubst(`# This is a line to zap
|
|
# and a second line
|
|
keep this one', `^ *#.*
|
|
')
|
|
dnl Special case: empty regexp
|
|
patsubst(`empty regexp',`',`a ')
|