~ubuntu-branches/ubuntu/intrepid/m4/intrepid

« back to all changes in this revision

Viewing changes to checks/136.patsubst

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2008-04-03 09:49:04 UTC
  • mfrom: (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080403094904-nzbg2ojnfh38cog0
Tags: 1.4.11-1
* New upstream release.
* Changed copyright file to refer to the GFDL in common-licenses.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl @ ../doc/m4.texinfo:4853: Origin of test
2
 
dnl @ expected status: 0
3
 
dnl @ extra options: 
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
8
 
dnl @ is preserved.
9
 
define(`patreg',
10
 
`patsubst($@)
11
 
regexp($@)')dnl
12
 
patreg(`bar foo baz Foo', `foo\|Foo', `FOO')
13
 
dnl @result{}bar FOO baz FOO
14
 
dnl @result{}FOO
15
 
patreg(`aba abb 121', `\(.\)\(.\)\1', `\2\1\2')
16
 
dnl @result{}bab abb 212
17
 
dnl @result{}bab