xref: /llvm-project/lldb/test/Shell/Commands/command-regex-delete.test (revision 87aa9c9e4d41ed881453e2fab85b3d25f648bb55)
1# Check basic functionality of command regex.
2# RUN: %lldb -s %s 2>&1 | FileCheck %s
3
4command regex 'Help__'
5# CHECK: Enter one or more sed substitution commands in the form
6# We need to leave a new line after to end the regex.
7s/^$/help/
8
9Help__
10# CHECK: Debugger commands:
11
12command delete Help__
13Help__
14# CHECK: error: 'Help__' is not a valid command
15