Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

What is doing the work for executing regular expressions?

  • Erutan409
  • Erutan409's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 9 months ago #156727 by Erutan409
I've briefly looked through the documentation I could find based on some relevant searches, but I'm not 100% on what is actually handling the regex matching when using validation in my questions. Is it PHP-based or JavaScript-based?

Thank you!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 9 months ago #156734 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: Erutan409
The topic has been locked.
  • Erutan409
  • Erutan409's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 9 months ago #156735 by Erutan409
Super helpful. Thank you for the links!
The topic has been locked.
  • Erutan409
  • Erutan409's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 8 months ago #157010 by Erutan409
So, with that being said - how do I adequately test my regex patterns before making a survey live?
The topic has been locked.
More
6 years 8 months ago #157058 by fvanderstarre
Hi, see for example: regex101.com/ . There are many more...
The topic has been locked.
  • Erutan409
  • Erutan409's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 8 months ago #157059 by Erutan409
Thank you for the reply. To be direct - I'm aware of online tools such as www.regex101.com (my personal favorite) that can help me test my patterns. So, I apologize if I wasn't being clear enough with my previous question.

I was trying to ascertain when/if my patterns were being evaluated on the PHP side (using the PCRE engine) or on the front-end side (JavaScript). Which, would affect the patterns being valid when being executed, respectively.

I was having issues with some of in my inputs where I attached the aforementioned regex patterns and the error/notification messages weren't referring to any specific question that wasn't passing its validation. Hence, where my question was coming from.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose