@@ -90,7 +90,7 @@ public function endOfLine($enable = true)
90
90
*/
91
91
public function then ($ value )
92
92
{
93
- return $ this ->add ("( " .$ this -> sanitize ($ value ).") " );
93
+ return $ this ->add ("( " .self :: sanitize ($ value ).") " );
94
94
}
95
95
96
96
/**
@@ -114,7 +114,7 @@ public function find($value)
114
114
*/
115
115
public function maybe ($ value )
116
116
{
117
- return $ this ->add ("( " .$ this -> sanitize ($ value ).")? " );
117
+ return $ this ->add ("( " .self :: sanitize ($ value ).")? " );
118
118
}
119
119
120
120
/**
@@ -141,7 +141,7 @@ public function anything()
141
141
*/
142
142
public function anythingBut ($ value )
143
143
{
144
- return $ this ->add ("([^ " . $ this -> sanitize ($ value ) ."]*) " );
144
+ return $ this ->add ("([^ " . self :: sanitize ($ value ) ."]*) " );
145
145
}
146
146
147
147
/**
@@ -168,7 +168,7 @@ public function something()
168
168
*/
169
169
public function somethingBut ($ value )
170
170
{
171
- return $ this ->add ("([^ " . $ this -> sanitize ($ value ) ."]+) " );
171
+ return $ this ->add ("([^ " . self :: sanitize ($ value ) ."]+) " );
172
172
}
173
173
174
174
/**
@@ -295,7 +295,7 @@ public function range()
295
295
$ arg_list = func_get_args ();
296
296
297
297
for ($ i = 0 ; $ i < $ arg_num ;) {
298
- $ value .= $ this -> sanitize ($ arg_list [$ i ++]) . "- " . $ this -> sanitize ($ arg_list [$ i ++]);
298
+ $ value .= self :: sanitize ($ arg_list [$ i ++]) . "- " . self :: sanitize ($ arg_list [$ i ++]);
299
299
}
300
300
301
301
$ value .= "] " ;
@@ -390,7 +390,7 @@ public function searchOneLine($enable = true)
390
390
*/
391
391
public function multiple ($ value )
392
392
{
393
- $ value = $ this -> sanitize ($ value );
393
+ $ value = self :: sanitize ($ value );
394
394
395
395
switch (substr ($ value , -1 )) {
396
396
case '+ ' :
0 commit comments