I have C++ classes that have the following methods:
CHost::SetAlarmMode
CHost::SetAlarm
class CAlarm { public: void SetAlarm(bool b_AlarmOn) { bAstat = b_AlarmOn; } ... }
I am searching the project with Perl regex, Match case, Match whole word.
EDIT: also List matching lines once only is checked.
When I search the project with "SetAlarm|SetAlarmMode" (without quotes), I only get results for SetAlarm.
When I search the project with "SetAlarmMode|SetAlarm" (without quotes), I get results for both SetAlarmMode & SetAlarm.
This is probably an inherent rule in regex that I don't know about. But, it seems that the order of OR'd the search words can affect the results.
SlickEdit Pro 2015 (v20.0.0.12 64-bit)
The same occurs on SE Pro 2011 (that I am running on my XP-32 bit VM)
Regards,
Jim