M
mike
Hi,
I have the following line that I want to use a regexp to match:
I have tried the following pattern.
String pattern = "#define\\s[A-Z_]+\\s\\(\\"[A-Z_]+\\"\\)";
This is the input line that I want to match:
#define MY_NAME_INTERFACE ("GROUP_INTERFACE_04")
MY_NAME_INTERFACE - can contain any caps and underscore.
GROUP_INTERFACE_04 - can contain any caps and underscore as well as
digits at the end.
br,
//mike
I have the following line that I want to use a regexp to match:
I have tried the following pattern.
String pattern = "#define\\s[A-Z_]+\\s\\(\\"[A-Z_]+\\"\\)";
This is the input line that I want to match:
#define MY_NAME_INTERFACE ("GROUP_INTERFACE_04")
MY_NAME_INTERFACE - can contain any caps and underscore.
GROUP_INTERFACE_04 - can contain any caps and underscore as well as
digits at the end.
br,
//mike