xref: /freebsd/usr.bin/m4/tests/gnupatterns.m4 (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1patsubst(`string with a + to replace with a minus', `+', `minus')
2patsubst(`string with aaaaa to replace with a b', `a+', `b')
3patsubst(`+string with a starting + to replace with a minus', `^+', `minus')
4