|
|
Use PithHelmet to allow simple URL typing
Regarding the pattern above, don't you have to escape the single "." in the range you want to negate? My basic understanding of regular expression patterns led me to believe that an un-escaped "." translates literally to "any single character" and NOT a period exclusively.
I am not able to install this application or test the following regular expression given my current version of Tiger for some reason, but I was thinking something like this: Match: Replace:
Again, I have very little experience in the regExp world, so if anything here needs cleaned up, I would appreciate learning from any feedback...
Use PithHelmet to allow simple URL typing
Weird. The escape was stripped. Same thing probably happened to the orig poster.
backslash weirdness
Happened to me the other day. I'd triple-backslashed to insert a backslash, saw it correctly in a post preview, fixed it again in the post text before submitting, but it was stripped in the actual post. Funky.
backslash weirdness
Yes, that seems to have happened to me when I submitted this. Perhaps some problem with Rob's data-flow pathway. The current URL field should look like this with no spaces, and with the correct symbols substituted for the all-caps words:
(let's hope this works right)
Use PithHelmet to allow simple URL typing
I'm pretty sure that a . in a character class (the brackets), means a '.' instead of it's usual meaning of 'any single character'. If you think about it, it doesn't make much sense to allow a character class to match one *anything*, or fail to match one *anything*... |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.27 seconds |
|