Not signed in (Sign In)
Quick Links
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
-
- CommentAuthordapperdan
- CommentTimeFeb 10th 2012
-
- CommentAuthoradamsmith
- CommentTimeFeb 10th 2012
thanks - I'll get to that asap (I'll change the regexp to (www\.)? which is the customary and slightly more elegant way to deal with this.). -
- CommentAuthordapperdan
- CommentTimeFeb 10th 2012
Sure. [\w\-\.]* may be more robust in (the admittedly very odd) case they decide to change it to something completely different again. Plus, being a regex newbie, it took me some time to figure it out. :)
Seriously and just for my interest, is there a drawback in using [\w\-\.]*? -
- CommentAuthoradamsmith
- CommentTimeFeb 10th 2012
we try to keep regexps pretty narrow and restrictive to avoid false positives. If I read your code correctly, it would return TRUE for a pretty much anything before voxeu - mobile.voxeu.org for example - which I don't think exists, but if it did probably wouldn't work. -
- CommentAuthoradamsmith
- CommentTimeFeb 11th 2012
it's now up - thanks again for the pointer.
1 to 5 of 5

Upgrade Storage