0

Is is possible to use regex validation in a smart contract?

  • Can you give an example of something you are trying to achieve with this? – Phillip Hamnett - EOS42 Mar 21 '19 at 17:30
  • I wanted to check the correct sintax of a public key like (EOS[1-9A-HJ-NP-Za-km-z]{50}) – user3040 Mar 21 '19 at 17:41
  • Surely that is just string manipulation though right? Or do you want to use a particular library to do it? If so which library? – Phillip Hamnett - EOS42 Mar 21 '19 at 19:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.