Placeholder: Regexp matches end of line
falkenber9 opened this issue · 1 comments
falkenber9 commented
File: Parser.php
Line: 223
modify from
while (preg_match('#^(.+){{([^}]+)}}(.+)$#mUsi', $part, $match)) {
to
while (preg_match('#^(.+){{([^}]+)}}(.+)$#Usi', $part, $match)) {
in order to make $match[3] match the entire remaining string. The current version uses the 'm' modifier, causing the '$' operator to match at the end of line. The remaining string, if present, is being lost.
Regards,
Robert
Gregwar commented
Fixed, thanks for contributing