On Wed, May 02, 2007 at 01:26:21AM -0400, Joey Hess wrote:
> Well, one way is to go to a more complex regexp, with two halves, each
> half being hardcoded for one type of quoting.
> 
>          (?:                             # Match one attr name/value pair
>                  \s+                             # There needs to be at least 
> some whitespace
>                                                  # before each attribute name.
>                  [\w.:_-]+               # Attribute name
>                  \s*=\s*
>                  (?:
>                    ".+?"                         # "Attribute value"
>                  |
>                    '.+?'                         # 'Attribute value'
>                  )
>          )*                              # Zero or more

[1]  I'll upload a fixed version as soon as 421371 is fixed.

-- 
Matt

1. And this shows why we should both be maintaining it.  :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to