Skip to content

Commit

Permalink
more consistent formatting of regular expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 15, 2014
1 parent 502e791 commit 92e466d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/Mojo/DOM/HTML.pm
Expand Up @@ -39,11 +39,8 @@ my $TOKEN_RE = qr/
\s*)
)
|
(\s*
[^<>\s]+ # Tag
\s*
(?:(?:$ATTR_RE){0,32766})*+ # Attributes
)
(\s*[^<>\s]+ # Tag
\s*(?:(?:$ATTR_RE){0,32766})*+) # Attributes
)>
|
(<) # Runaway "<"
Expand Down

0 comments on commit 92e466d

Please sign in to comment.