diff options
author | Matthew Sackman <matthew@lshift.net> | 2010-02-05 13:13:43 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2010-02-05 13:13:43 +0000 |
commit | 1511c73a4ae414dd2ea87aa79e76bee495dd2db8 (patch) | |
tree | 073410f6882f871c60f570e53495f9b67850aa7c | |
parent | 8e3eefdae02e2f4cb0b2f8822d77ed0851441c78 (diff) | |
download | rabbitmq-server-1511c73a4ae414dd2ea87aa79e76bee495dd2db8.tar.gz |
Minor correction to regexp
-rw-r--r-- | src/rabbit_misc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index 55520510..92d03789 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -523,7 +523,7 @@ string_to_pid(Str) -> %% 1) sanity check %% The \ before the trailing $ is only there to keep emacs %% font-lock from getting confused. - case regexp:first_match(Str, "^<.*\.[0-9]+\.[0-9]+>\$") of + case regexp:first_match(Str, "^<.*\\.[0-9]+\\.[0-9]+>\$") of {match, _, _} -> %% 2) strip <> Str1 = string:substr(Str, 2, string:len(Str) - 2), |