~ubuntu-branches/ubuntu/trusty/coccinelle/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/regexp2.cocci

  • Committer: Package Import Robot
  • Author(s): Євгеній Мещеряков
  • Date: 2011-12-06 23:17:50 UTC
  • mfrom: (7.2.4 experimental) (7.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20111206231750-m6n4b9jh0d48dlxo
Tags: 1.0.0~rc7.deb-5
Merge Build-Depends-Indep into Build-Depends, the package does not build
on autobuilders otherwise

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
@contains@
12
12
type t;
13
13
identifier anyid.id;
14
 
constant anyid.cst ~= ".*FOO";
 
14
constant anyid.cst =~ ".*FOO";
15
15
fresh identifier contains = id ##"_equals_cst_that_contains_FOO";
16
16
@@
17
17
 
21
21
@nocontain@
22
22
type t;
23
23
identifier anyid.id;
24
 
constant anyid.cst !~= ".*FOO";
 
24
constant anyid.cst !~ ".*FOO";
25
25
fresh identifier nocontain = id ##"_equals_cst_that_doesn_t_contain_FOO";
26
26
@@
27
27
 
31
31
@endsby@
32
32
type t;
33
33
identifier anyid.id;
34
 
constant anyid.cst ~= ".*FOO$";
 
34
constant anyid.cst =~ ".*FOO$";
35
35
fresh identifier endsby = id ##"_equals_cst_that_ends_by_FOO";
36
36
@@
37
37
 
41
41
@beginsby@
42
42
type t;
43
43
identifier anyid.id;
44
 
constant anyid.cst ~= "^FOO";
 
44
constant anyid.cst =~ "^FOO";
45
45
fresh identifier beginsby = id ##"_equals_cst_that_begins_by_FOO";
46
46
@@
47
47