Regex multiple line text parsing

Avatar
  • updated
  • Under review

Hi,


I have issued a basic http command that retrieves multiple lines, effectively we cannot get the values of the 7 groups that are returned under a specific matching. The question is how does COmfortClik handle the groups within regex text to be able to handle the group values, remember this is a text regex not a JSON or XML regex, so there are no tokens!!


Image 3398


Image 3402

The REGEX listener I have created is for a string (it has been validated as it works in any regex tester) ^\#>(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})(?[0-9]{2})$/gm

Image 3399

However, Comfortclick does not seem to handle the groups within a Text REGEX, despite multiple lines are coming in the system response

Image 3400

When executed through a host connection this is the same code returned

Image 3401

Avatar
Paul G

thanks, details sent to support@comfortclick.com just now. thanks

Avatar

hello,


could you send us the exact data that is send by the device and export of your basic driver so we can recreate the issue and try to resolve it.

Best regards.

Avatar
Paul G

Command in basic driver




Successfully executed as per Putty command line shows



However, the response is parsed, but data not accessible -the regex tags-

How is BOS extracting the values or where are the tag values from the Regex stored in BOS?

Avatar
Paul G

Hi team, thanks for the new superversion, unfortunately the issues with execuitng one single line and BOS processing two lines, still remains

Avatar

Hello,

it's currently not in beta release, but it is in alpha release. Alpha release cannot be installed on your own, but it would require a remote session with our support team to install it (it comes with many other features that will be released in our future updates).

You can contact us directly at support@comfortclick.com or open a support ticket so we can arrange a remote session and install alpha version.

Best regards.

Avatar
Paul G

Sorry to pester guys, Any chance when that Beta will be coming to the market? :-)

Avatar
Paul G

Great, looking forward for it!

Avatar
ComfortClick Support

Hello,

we are working on it, we will try to release it asap.

Best regards

Avatar
Paul G

Hi team, any thoughts when that Beta might be released? THanks.

Avatar
Paul G

Great, looking forward for that Beta.