1
dnl @ ../doc/m4.texinfo:4808: Origin of test
2
dnl @ expected status: 0
4
dnl @ Copyright (C) 2006, 2007 Free Software Foundation
5
dnl @ This file is free software; the Free Software Foundation
6
dnl @ gives unlimited permission to copy and/or distribute it
7
dnl @ with or without modifications, as long as this notice
9
patsubst(`GNUs not Unix', `^', `OBS: ')
10
dnl @result{}OBS: GNUs not Unix
11
patsubst(`GNUs not Unix', `\<', `OBS: ')
12
dnl @result{}OBS: GNUs OBS: not OBS: Unix
13
patsubst(`GNUs not Unix', `\w*', `(\&)')
14
dnl @result{}(GNUs)() (not)() (Unix)()
15
patsubst(`GNUs not Unix', `\w+', `(\&)')
16
dnl @result{}(GNUs) (not) (Unix)
17
patsubst(`GNUs not Unix', `[A-Z][a-z]+')
19
patsubst(`GNUs not Unix', `not', `NOT\')
20
dnl @error{}m4:stdin:6: Warning: trailing \ ignored in replacement
21
dnl @result{}GNUs NOT Unix