OSDN Git Service
(root)
/
radegast
/
radegast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4340044
)
Fixed error in regex for parsing SLUrls
author
Latif Khalifa
<latifer@streamgrid.net>
Sun, 2 Mar 2014 17:37:57 +0000
(18:37 +0100)
committer
Latif Khalifa
<latifer@streamgrid.net>
Sun, 2 Mar 2014 17:37:57 +0000
(18:37 +0100)
Radegast/GUI/Dialogs/MainForm.cs
patch
|
blob
|
history
diff --git
a/Radegast/GUI/Dialogs/MainForm.cs
b/Radegast/GUI/Dialogs/MainForm.cs
index
9c624fe
..
7f664be
100644
(file)
--- a/
Radegast/GUI/Dialogs/MainForm.cs
+++ b/
Radegast/GUI/Dialogs/MainForm.cs
@@
-830,7
+830,7
@@
namespace Radegast
public bool ProcessSecondlifeURI(string link)
{
// First try if we have a region name, assume it's a teleport link if we have
- Regex r = new Regex(@"^(secondlife://)(?<region>[^/$]+)(/(?<x>\d+))?(
(/
?<y>\d+))?(/(?<z>\d+))?",
+ Regex r = new Regex(@"^(secondlife://)(?<region>[^/$]+)(/(?<x>\d+))?(
/(
?<y>\d+))?(/(?<z>\d+))?",
RegexOptions.CultureInvariant | RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase);
Match m = r.Match(link);