File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
[ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/coduo/php-matcher/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/coduo/php-matcher/?branch=master )
6
6
7
- * [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg )] ( https://travis-ci.org/coduo/php-matcher ) - 1.1.*
8
- * [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg?branch=1.0.7 )] ( https://travis-ci.org/coduo/php-matcher ) - 1.0.7
7
+ * [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg )] ( https://travis-ci.org/coduo/php-matcher ) - master
8
+ * [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg?branch=1.1 )] ( https://travis-ci.org/coduo/php-matcher ) - 1.1.*
9
+ * [ ![ Build Status] ( https://travis-ci.org/coduo/php-matcher.svg?branch=1.0 )] ( https://travis-ci.org/coduo/php-matcher ) - 1.0.*
10
+
11
+ [ Readme for master version] ( https://github.com/coduo/php-matcher/tree/master/README.md )
12
+ [ Readme for 1.1 version] ( https://github.com/coduo/php-matcher/tree/1.1/README.md )
13
+ [ Readme for 1.0 version] ( https://github.com/coduo/php-matcher/tree/1.0/README.md )
9
14
10
- [ Readme for 1.0 version] ( https://github.com/coduo/php-matcher/tree/1.0 )
11
15
12
16
##Installation
13
17
@@ -45,6 +49,7 @@ $matcher = $factory->createMatcher();
45
49
46
50
$match = $matcher->match("lorem ipsum dolor", "@string@")
47
51
// $match === true
52
+ $matcher->getError(); // returns null or error message
48
53
```
49
54
50
55
### Available patterns
You can’t perform that action at this time.
0 commit comments