diff options
author | Lynx Linden <lynx@lindenlab.com> | 2010-01-15 11:07:37 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2010-01-15 11:07:37 +0000 |
commit | c6108f0fadd54a60c8bbeecb3f3604073a934c73 (patch) | |
tree | 48dc19e971903e6ab3fd12d964ea08447783cbbc /indra/newview/llpanelpick.cpp | |
parent | 30a47979a13af8d6c3e89ce5dddb5d7c37011012 (diff) |
EXT-4125: Regexes hurt my head!
Updated the regex to match a free URL in plain text with no http:
protocol. This now explicitly does not match e-mail addresses, such as
test@lindenlab.com (yay negative lookbehind regexes). It additionally
matches URLs with a port or path after it, e.g., secondlife.com/status.
I've added a bunch more unit tests to asset positive and negative
matches for this regex, because no human can do this in their head.
Diffstat (limited to 'indra/newview/llpanelpick.cpp')
0 files changed, 0 insertions, 0 deletions