in reply to Re: Regular expressions
in thread Regular expressions

Stopping strongSwan IPsec...

Starting strongSwan 5.1.2 IPsec starter...

Replies are listed 'Best First'.
Re^3: Regular expressions
by GotToBTru (Prior) on Apr 10, 2015 at 18:19 UTC

    The $ at the end of your regex says it should match up to the end of the string. If anything (including a space) is appearing after "IPsec", then the string doesn't end with "IPsec" and the match will fail. Remove the $, and it should work.

    Dum Spiro Spero
      works , thanks