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 | 6f65ddb23dfae6df1081e720d677212c630df9e9 (patch) | |
| tree | 073410f6882f871c60f570e53495f9b67850aa7c | |
| parent | 3f7e5d6e570fa646fce3125712bbf1a53752f759 (diff) | |
| download | rabbitmq-server-git-6f65ddb23dfae6df1081e720d677212c630df9e9.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 555205106f..92d03789b3 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), |
