1 dnl @ ../doc/m4.texi:5750: Origin of test
2 dnl @ expected status: 0
4 dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
6 dnl @ This file is free software; the Free Software Foundation
7 dnl @ gives unlimited permission to copy and/or distribute it
8 dnl @ with or without modifications, as long as this notice
10 regexp(`abc', `\(b\)', `\\\10\a')
12 regexp(`abc', `b', `\1\')
13 dnl @error{}m4:stdin:2: Warning: sub-expression 1 not present
14 dnl @error{}m4:stdin:2: Warning: trailing \ ignored in replacement
16 regexp(`abc', `\(\(d\)?\)\(c\)', `\1\2\3\4\5\6')
17 dnl @error{}m4:stdin:3: Warning: sub-expression 4 not present
18 dnl @error{}m4:stdin:3: Warning: sub-expression 5 not present
19 dnl @error{}m4:stdin:3: Warning: sub-expression 6 not present