|Perl Monk, Perl Meditation|
Regular expressionsby user786 (Sexton)
|on Apr 10, 2015 at 17:58 UTC||Need Help??|
user786 has asked for the wisdom of the Perl Monks concerning the following question:
I have written a function which is in a library, and I call the functions from my test script.
The function returns 0.
ideally it should return Starting strongSwan 5.1.2 IPsec
I checked the regular expression in https://regex101.com/ . My regex seems to be correct. /(Starting strongSwan.*IPsec$)/ .
Can somebody help me out with the return value of the function.
Function call :
Expected output : See the highlighted text below.Starting strongSwan 5.1.2 IPsec Actual output is : 0