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