]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/m4/tests/patterns.m4
libfido2: update to 1.13.0
[FreeBSD/FreeBSD.git] / usr.bin / m4 / tests / patterns.m4
1 dnl $OpenBSD: src/regress/usr.bin/m4/patterns.m4,v 1.4 2003/06/08 20:11:45 espie Exp $
2 patsubst(`quote s in string', `(s)', `\\\1')
3 patsubst(`check whether subst
4 over several lines
5 works as expected', `^', `>>>')
6 patsubst(`# This is a line to zap
7 # and a second line
8 keep this one', `^ *#.*
9 ')
10 dnl Special case: empty regexp
11 patsubst(`empty regexp',`',`a ')