summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-02-18 17:54:02 +0000
committersr55 <[email protected]>2008-02-18 17:54:02 +0000
commit00cb00b5d1b8d5e704b03425d6f16f506cce61e4 (patch)
tree747fec59f30cc7161cef6776941820a3bdd84267 /win/C#/Functions
parent5e400b7710cc6bb5a6b45f97cfe6d2737b0c33d5 (diff)
WinGui:
- Fixed small regex bug in the destination field of the query parser. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1289 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/QueryParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index bc01a53fa..be3ac7424 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -579,7 +579,7 @@ namespace Handbrake.Functions
Match format = Regex.Match(input, @"-f ([a-z0-9a-z0-9a-z0-9]*)");
//Destination
- Regex r2 = new Regex(@"(-o)(?:\s\"")([a-zA-Z0-9:\\\s\.]+)(?:\"")");
+ Regex r2 = new Regex(@"(-o)(?:\s\"")([a-zA-Z0-9_\-:\\\s\.]+)(?:\"")");
Match destination = r2.Match(input.Replace('"', '\"'));
Match width = Regex.Match(input, @"-w ([0-9]*)");
Match height = Regex.Match(input, @"-l ([0-9]*)");