Development

Changeset 10947

You must first sign up to be able to contribute.

Changeset 10947

Show
Ignore:
Timestamp:
08/19/08 16:11:06 (11 months ago)
Author:
fabien
Message:

[1.0, 1.1, 1.2] fixed sfDomCssSelector attribute regex (closes #3922)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/lib/util/sfDomCssSelector.class.php

    r4236 r10947  
    101101          preg_match_all('/ 
    102102            \[ 
    103               (\w+)                 # attribute 
     103              ([\w\-]+)             # attribute 
    104104              ([=~\|\^\$\*]?)       # modifier (optional) 
    105105              =?                    # equal (optional) 
  • branches/1.1/lib/util/sfDomCssSelector.class.php

    r5938 r10947  
    176176          preg_match_all('/ 
    177177            \[ 
    178               (\w+)                 # attribute 
     178              ([\w\-]+)             # attribute 
    179179              ([=~\|\^\$\*]?)       # modifier (optional) 
    180180              =?                    # equal (optional) 
  • branches/1.2/lib/util/sfDomCssSelector.class.php

    r5938 r10947  
    176176          preg_match_all('/ 
    177177            \[ 
    178               (\w+)                 # attribute 
     178              ([\w\-]+)             # attribute 
    179179              ([=~\|\^\$\*]?)       # modifier (optional) 
    180180              =?                    # equal (optional) 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.