diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-07-24 21:41:02 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-07-24 21:41:02 +0200 |
commit | 3661f2749a07ebd3733dca944a4ee990b658d864 (patch) | |
tree | 9473f4fe56595671a585257c69ae69f4143fe94a /check_abi | |
parent | d27edd54c4b077de66c40f681ff5d0e266952884 (diff) | |
download | qpdf-3661f2749a07ebd3733dca944a4ee990b658d864.tar.zst |
Fix regex used for finding classes in the library
Diffstat (limited to 'check_abi')
-rwxr-xr-x | check_abi | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -111,7 +111,9 @@ class Main: classes = set() for i in sorted(lib): # Find a symbol that looks like a class method. - m = re.match(r'(((?:^\S*?::)?(?:[^:\s]+))::([^:\s]+))\(', i) + m = re.match( + r'(((?:^\S*?::)?(?:[^:\s]+))::([^:\s]+))(?:\[[^\]]+\])?\(', + i) if m: full = m.group(1) clas = m.group(2) |