Reputation: 57
I'm trying to change all string arguments to function DEBUG(mode) to enum and all strings starting with an integer will have m added to the front:
Examples:
Original | Result |
---|---|
DEBUG("LOG_EVENTS") |
DEBUG(LOG_EVENTS) |
DEBUG("3b") |
DEBUG(m3b) |
I have:
Find: DEBUG\\("([a-zA-Z]+\.h)"\\)
Replace: DEBUG\\($1\\)
and
Find: DEBUG\\("([0-9]+h)"\\)
Replace: DEBUG\\(m$1\\)
but I find 0 occurrences for both queries.
Upvotes: 0
Views: 53