Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

REGEX bugs 03 Jul 2013 05:37 #7814

positive integer regex rule should be:

^\d+$


instead of:

^d+$

I didn't check all, but it seems to me, many regex validation rules do not work due to the escaping of some char.

About the name of the rules, as the admin said, rules with underscore on their name are not accepted (I discovered this by myself, they simply didn't work), but then why, by default on a fresh generated component, the default rules are named with the underscore?

Please Log in or Create an account to join the conversation.

Last edit: by Tomaselli.

REGEX bugs 03 Jul 2013 20:10 #7822

I receive this error in a javscript alert on validation of element with the 'positive_integer' regex applied to it
jqv:custom rule not found - positive integer

Please Log in or Create an account to join the conversation.

REGEX bugs 03 Jul 2013 20:45 #7824

to fix that, you have to change the name of the rule on any file that rule is called:

FROM: positive_integer TO: positiveinteger

AND

FROM: Positive_integer TO: Positiveinteger


remember also to change the filename of the rule.

then you also have to change the regex pattern
from:
^d+$
to:
^\d+$
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

REGEX bugs 03 Jul 2013 22:01 #7829

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

Do not listen Tomaselli... lol..

#Tomaselli : Thanks
Coding is now a piece of cake
The following user(s) said Thank You: Tomaselli, jhallock

Please Log in or Create an account to join the conversation.

REGEX bugs 04 Jul 2013 06:21 #7854

:)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.093 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started