You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bb...@apache.org on 2022/02/22 21:13:06 UTC
[geode-native] branch develop updated: GEODE-10073: Fix regex issue on Linux systems (#929)
This is an automated email from the ASF dual-hosted git repository.
bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 9aa78f4 GEODE-10073: Fix regex issue on Linux systems (#929)
9aa78f4 is described below
commit 9aa78f4c7eae06618f0598fee60b64f9ea127d16
Author: Blake Bender <bb...@pivotal.io>
AuthorDate: Tue Feb 22 13:12:58 2022 -0800
GEODE-10073: Fix regex issue on Linux systems (#929)
- Hex dump of a pointer on Linux is prefixed with '0x', so need to
allow x or X character
---
tools/gnmsg/handshake_decoder.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/gnmsg/handshake_decoder.py b/tools/gnmsg/handshake_decoder.py
index b865df2..cb2d72b 100644
--- a/tools/gnmsg/handshake_decoder.py
+++ b/tools/gnmsg/handshake_decoder.py
@@ -49,10 +49,10 @@ class HandshakeDecoder(DecoderBase):
3: "SECURITY_MULTIUSER_NOTIFICATIONCHANNEL",
}
self.client_connection_request_expression_ = re.compile(
- r"(\d\d\d\d\/\d\d\/\d\d \d\d:\d\d:\d\d\.\d+).*([\d|a-f|A-F|x|X]+) .*\]\s*ThinClientLocatorHelper::sendRequest\([0-9|a-f|A-F]+\): sending \d+ bytes to locator:\s*([0-9|a-f|A-F]+)"
+ r"(\d\d\d\d\/\d\d\/\d\d \d\d:\d\d:\d\d\.\d+).*([\d|a-f|A-F|x|X]+) .*\]\s*ThinClientLocatorHelper::sendRequest\([0-9|a-f|A-F|x|X]+\): sending \d+ bytes to locator:\s*([0-9|a-f|A-F]+)"
)
self.client_connection_response_expression_ = re.compile(
- r"(\d\d\d\d\/\d\d\/\d\d \d\d:\d\d:\d\d\.\d+).*([\d|a-f|A-F|x|X]+) .*\]\s*ThinClientLocatorHelper::sendRequest\([0-9|a-f|A-F]+\): received \d+ bytes from locator:\s*([0-9|a-f|A-F]+)"
+ r"(\d\d\d\d\/\d\d\/\d\d \d\d:\d\d:\d\d\.\d+).*([\d|a-f|A-F|x|X]+) .*\]\s*ThinClientLocatorHelper::sendRequest\([0-9|a-f|A-F|x|X]+\): received \d+ bytes from locator:\s*([0-9|a-f|A-F]+)"
)
def is_client_connection_request(self, line):