[Lldb-commits] [lldb] [lldb][scripts] Fix bugs in framework fix script (PR #145961)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 26 13:21:16 PDT 2025
================
@@ -20,7 +20,7 @@
# Main header regexes
INCLUDE_FILENAME_REGEX = re.compile(
- r'#include "lldb/API/(?P<include_filename>.*){0,1}"'
+ r'#include "lldb/(API/){0,1}(?P<include_filename>.*){0,1}"'
----------------
bulbazord wrote:
I'm not an expert on regex but would it make sense to use `?` here instead of `{0,1}`?
https://github.com/llvm/llvm-project/pull/145961
More information about the lldb-commits
mailing list