xref: /freebsd/usr.bin/m4/tests/gnupatterns.m4 (revision a64729f5077d77e13b9497cb33ecb3c82e606ee8)
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