File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ final class RegexHelper
4949 public const PARTIAL_ATTRIBUTEVALUE = '(?: ' . self ::PARTIAL_UNQUOTEDVALUE . '| ' . self ::PARTIAL_SINGLEQUOTEDVALUE . '| ' . self ::PARTIAL_DOUBLEQUOTEDVALUE . ') ' ;
5050 public const PARTIAL_ATTRIBUTEVALUESPEC = '(?: ' . '\s*= ' . '\s* ' . self ::PARTIAL_ATTRIBUTEVALUE . ') ' ;
5151 public const PARTIAL_ATTRIBUTE = '(?: ' . '\s+ ' . self ::PARTIAL_ATTRIBUTENAME . self ::PARTIAL_ATTRIBUTEVALUESPEC . '?) ' ;
52- public const PARTIAL_OPENTAG = '< ' . self ::PARTIAL_TAGNAME . self ::PARTIAL_ATTRIBUTE . '* ' . '\s*\/?> ' ;
53- public const PARTIAL_CLOSETAG = '<\/ ' . self ::PARTIAL_TAGNAME . '\s*[>] ' ;
54- public const PARTIAL_OPENBLOCKTAG = '< ' . self ::PARTIAL_BLOCKTAGNAME . self ::PARTIAL_ATTRIBUTE . '* ' . '\s*\/?> ' ;
55- public const PARTIAL_CLOSEBLOCKTAG = '<\/ ' . self ::PARTIAL_BLOCKTAGNAME . '\s*[>] ' ;
52+ public const PARTIAL_OPENTAG = '< ' . self ::PARTIAL_TAGNAME . self ::PARTIAL_ATTRIBUTE . '*+ ' . '\s*+ \/?+ > ' ;
53+ public const PARTIAL_CLOSETAG = '<\/ ' . self ::PARTIAL_TAGNAME . '\s*+ [>] ' ;
54+ public const PARTIAL_OPENBLOCKTAG = '< ' . self ::PARTIAL_BLOCKTAGNAME . self ::PARTIAL_ATTRIBUTE . '*+ ' . '\s*+ \/?+ > ' ;
55+ public const PARTIAL_CLOSEBLOCKTAG = '<\/ ' . self ::PARTIAL_BLOCKTAGNAME . '\s*+ [>] ' ;
5656 public const PARTIAL_HTMLCOMMENT = '(?:<!-->|<!--->|<!--[\s\S]*?-->) ' ;
5757 public const PARTIAL_PROCESSINGINSTRUCTION = '[<][?][\s\S]*?[?][>] ' ;
5858 public const PARTIAL_DECLARATION = '<![A-Za-z]+ ' . '[^>]*> ' ;
You can’t perform that action at this time.
0 commit comments