diff options
author | Alexander Kiryukhin <alexander@kiryukhin.su> | 2019-01-11 03:27:45 +0300 |
---|---|---|
committer | Bruce Wells <brucekwells@gmail.com> | 2019-01-11 03:27:45 +0300 |
commit | 76517641f79e8f0e4e5f3b620c731bf5c095df17 (patch) | |
tree | c0b03f4fa8acc12058924cbebb1511b31b6a41d8 /src/NXP/Classes/Token/TokenStringDoubleQuoted.php | |
parent | bf6204aea73441f222d5b9ebb828f9da9d6894ad (diff) |
Fix single quotes parsing (#41)
* Fix single quotes parsing
Fix e-mails
Some small fixes
* Mistake in test
* More PHP versions
Diffstat (limited to 'src/NXP/Classes/Token/TokenStringDoubleQuoted.php')
-rw-r--r-- | src/NXP/Classes/Token/TokenStringDoubleQuoted.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/NXP/Classes/Token/TokenStringDoubleQuoted.php b/src/NXP/Classes/Token/TokenStringDoubleQuoted.php new file mode 100644 index 0000000..6cff262 --- /dev/null +++ b/src/NXP/Classes/Token/TokenStringDoubleQuoted.php @@ -0,0 +1,25 @@ +<?php +/** + * This file is part of the MathExecutor package + * + * (c) Alexander Kiryukhin + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code + */ + +namespace NXP\Classes\Token; + +/** + * @author Bruce Wells <brucekwells@gmail.com> + */ +class TokenStringDoubleQuoted extends AbstractContainerToken +{ + /** + * @return string + */ + public static function getRegex() + { + return '"([^"]|"")*"'; + } +} |