Changeset 1883 for trunk/include/functions_xml.inc.php
- Timestamp:
- Mar 9, 2007, 5:28:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_xml.inc.php
r1058 r1883 53 53 { 54 54 // echo htmlentities($element).'<br /><br />'; 55 $regex = '/^<\w+[^>]* '.$attribute.'\s*=\s*"('.VAL_REG.')"/i';55 $regex = '/^<\w+[^>]*\b'.$attribute.'\s*=\s*"('.VAL_REG.')"/i'; 56 56 if ( preg_match( $regex, $element, $out ) ) 57 57 {
Note: See TracChangeset
for help on using the changeset viewer.