|
Basic Negate Question
|
|
Oct. 13, 2010, 12:30 AM
(This post was last modified: Oct. 13, 2010 02:06 AM by JJoe.)
Post: #5
|
|||
|
|||
|
RE: Basic Negate Question
If I understand correctly,
Code: (src|href)="http://*.(^arstechnica).*(^arstechnica) doesn't actually 'consume' anything. It just checks to see if arstechnica is not there. So, the part of the expression that 'consumes' is (src|href)="http://*..* and it doesn't match much. Code: (src|href)="http://*.(^arstechnica.)*The (src|href)="http://*.(^arstechnica.) part does match href="http://static.arstechnica. as arstechnica. is not followed by arstechnica. *.(^arstechnica.) didn't stop looking for a match after static. was found. Code: http://\0.(^arstechnica.)\1\2This will fail when every period is followed by "arstechnica.". Probably not going to happen. \1 will always be empty. Why do these match http://static.rstechnica.com/apple/ but not http://static.arstechnica.com/apple/ or do they? http://(^*.arstechnica)* http://([^.]+.(^arstechnica))+{1,*}* http://((*.)+{1}(^arstechnica))+{1,*}* HTH |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Basic Negate Question - qz33 - Oct. 12, 2010, 12:43 PM
RE: Basic Negate Question - JJoe - Oct. 12, 2010, 03:15 PM
RE: Basic Negate Question - whenever - Oct. 12, 2010, 03:31 PM
RE: Basic Negate Question - qz33 - Oct. 12, 2010, 06:17 PM
RE: Basic Negate Question - JJoe - Oct. 13, 2010 12:30 AM
RE: Basic Negate Question - qz33 - Oct. 13, 2010, 02:35 AM
|

Search
Member List
Calendar
Help





![[-]](images/ONi/collapse.gif)