- Timestamp:
- 10/05/08 06:21:43 (3 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/php/HTML_CSS_Mobile/trunk/HTML/CSS/lib/selectorToXPath.php
r17637 r20748 26 26 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 27 27 * THE SOFTWARE. 28 */ 28 */ 29 29 30 30 /** … … 34 34 * のPHP移殖版 35 35 * 理解のいたる範囲で移植したので劣化コピーかもしれない。 36 */ 36 */ 37 37 class selectorToXPath 38 38 { … … 43 43 'element' => '/^(\*|[a-z_][a-z0-9_-]*)/i', 44 44 'id_class' => '/^([#.])([a-z0-9*_-]*)/i', 45 'attribute' => '/^\[\s*([^~ \|=\s]+)\s*([~\|]?=)\s*"([^"]+)"\s*\]/i',46 'attr_box' => '/^\[([^\]]*)\]/ i',47 'attr_not' => '/^:not\(( .*?)\)/i',45 'attribute' => '/^\[\s*([^~|=\s]+)\s*([~|]?=)\s*"([^"]+)"\s*\]/', 46 'attr_box' => '/^\[([^\]]*)\]/', 47 'attr_not' => '/^:not\(([^)]*)\)/i', 48 48 'pseudo' => '/^:([a-z0-9_-]+)(\(([a-z0-9_-]+)\))?/i', 49 49 'combinator' => '/^(\s*[>+~\s])/i', 50 'comma' => '/^,/ i',50 'comma' => '/^,/', 51 51 ); 52 52
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)