Regular expression with whitespace not work in search field

Hi All,

I would like to search the message with regular expression from linux login message: message:/Accepted password for (xxx|yyy)/ but failed. It work perfectly without dealing with space. No matter what any possible wildcard pattern I used.

/Accepted/ - works
/(xxx|yyy)/ - works
/Accepted\spassword\sfor\s(xxx|yyy)/ - not work
/Accepted.+password.+for.+(xxx|yyy)/ - not work
/Accepted.+password.+for.+(xxx|yyy).+/ - not work

Thx for any comment !

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.