Search code examples
xcodedebugginglldb

lldb case-insensitive image lookup


I have read that is it possible to run case-insensitive image lookup in lldb (I'm using Xcode 13) by using (?i). However, I cannot get it to work; I must be doing something wrong, and I cannot find any reference discussing this. For instance, if I run "image lookup -rn layoutSubviews", I get plenty of hits, OTOH, if I run "image lookup -rn (?i)layoutsubviews", I get nothing. Can anyone give me any pointers? Thanks in advance


Solution

  • lldb's regular expression matcher supports Posix Extended Regular Expressions. The mode modifiers are not part of that flavor of regular expression.