diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-10 18:46:46 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-10 18:46:49 +0200 |
commit | 25f9f082aa234c96290d3925b4d8a01c54ba1ed4 (patch) | |
tree | ce3c132716b7a768a4f56571cb17587ddcc3209e /bin | |
parent | 4d4592ae20e030a12764e99a8fe169d9c43e17f5 (diff) |
grepc: grepc_linux_syscall_def: Improve readability of regex
This improves the readability of the regex, and also the
robustness, at the cost of just a few ms.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/grepc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ function grepc_linux_syscall_def() grepc_helper \ "SYSCALL_DEFINE.\($1\b" \ '.' \ - "(?s)^\w*SYSCALL_DEFINE.\($1\b.*?^}"; + "(?s)^(COMPAT_)?SYSCALL_DEFINE.\($1\b.*?^}"; } |