Skip to content

Commit

Permalink
more consistent formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 5, 2015
1 parent 3bcced3 commit bbdd6d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Mojo/DOM/CSS.pm
Expand Up @@ -6,11 +6,11 @@ has 'tree';
my $ESCAPE_RE = qr/\\[^0-9a-fA-F]|\\[0-9a-fA-F]{1,6}/;
my $ATTR_RE = qr/
\[
((?:$ESCAPE_RE|[\w\-])+) # Key
((?:$ESCAPE_RE|[\w\-])+) # Key
(?:
(\W)?= # Operator
(?:"((?:\\"|[^"])*)"|'((?:\\'|[^'])*)'|([^\]]+?)) # Value
(?:\s+(i))? # Case-sensitivity
(\W)?= # Operator
(?:"((?:\\"|[^"])*)"|'((?:\\'|[^'])*)'|([^\]]+?)) # Value
(?:\s+(i))? # Case-sensitivity
)?
\]
/x;
Expand Down

0 comments on commit bbdd6d6

Please sign in to comment.