I am stuck with trying to figure out working regex for flexhub ....
This is supposely $lock that flexhub sends:
$Lock EXTENDEDPROTOCOL_FLEXHUB_MULTIPROTOCOL_ABCD Pk=version0.2|
Note that 'MULTIPROTOCOL' can be replaced if the hub only supports NMDC or ADC.
It should match:
'/^\$Lock EXTENDEDPROTOCOL_FLEXHUB_.-_....[\ ]Pk=.*/' but it does not:(
Where did we go wrong???
Any help apreciated.....
More information, please... What exactly are you trying to match? and which regex engine? there are many of them and they have huge differences from each other.
php function preg_match but i did figure this one out ...
:laughing:
Thanx anyways..