diff options
| -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), |
