mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-22 21:03:09 +02:00
add preg_quote, add test on regex special symbols
This commit is contained in:
@@ -346,7 +346,8 @@ abstract class CommonTest extends PHPUnit_Framework_TestCase
|
||||
array('podekhal-k-podezdu-moego-doma', 'подъехал к подъезду моего дома'),
|
||||
array('foo:bar:baz', 'Foo bar baz', ':'),
|
||||
array('a_string_with_underscores', 'A_string with_underscores', '_'),
|
||||
array('a_string_with_dashes', 'A string-with-dashes', '_')
|
||||
array('a_string_with_dashes', 'A string-with-dashes', '_'),
|
||||
array('a\string\with\dashes', 'A string-with-dashes', '\\')
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user