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

« back to all changes in this revision

Viewing changes to demos/regexp.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:
15
15
 
16
16
@contains@
17
17
type t;
18
 
identifier foo ~= ".*foo";
 
18
identifier foo =~ "foo";
19
19
@@
20
20
 
21
21
t foo () {
30
30
 
31
31
@nocontain@
32
32
type t;
33
 
identifier foo !~= ".*foo";
 
33
identifier foo !=~ "foo";
34
34
@@
35
35
 
36
36
t foo () {
45
45
 
46
46
@endsby@
47
47
type t;
48
 
identifier foo ~= ".*foo$";
 
48
identifier foo =~ "foo$";
49
49
@@
50
50
 
51
51
t foo () {
60
60
 
61
61
@beginsby@
62
62
type t;
63
 
identifier foo ~= "^foo";
 
63
identifier foo =~ "^foo";
64
64
@@
65
65
 
66
66
t foo () {