summaryrefslogtreecommitdiff
path: root/regress/usr.bin/m4/gnupatterns.m4
blob: 8670d1c44f418d11eac9df73347bc12b81f806f7 (plain)
1
2
3
patsubst(`string with a + to replace with a minus', `+', `minus')
patsubst(`string with aaaaa to replace with a b', `a+', `b')
patsubst(`+string with a starting + to replace with a minus', `^+', `minus')