Timeline for Validate multiple regexes without a for loop in JavaScript
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 1, 2014 at 12:52 | vote | accept | Nzall | ||
Jul 23, 2014 at 15:58 | history | edited | Jamal | CC BY-SA 3.0 |
added 15 characters in body; edited title
|
Jul 23, 2014 at 15:47 | answer | added | Schism | timeline score: 3 | |
Jul 23, 2014 at 15:20 | comment | added | Schism |
Just to clarify, it's intentional that, for example, a reformatted VAT number for Switzerland will not include the MWST at the end, right?
|
|
Jul 23, 2014 at 15:10 | comment | added | Nzall | I have added the full function to the question. Unfortunately, I cannot give an example VAT number from our own system to call it with because I don't want to give our own, nor that of a client for identification reasons. bsearch.be/companyinfo/2/4020165400685270/G10/SE/… has an example on the top-right that should work and is publicly available. | |
Jul 23, 2014 at 15:03 | history | edited | Nzall | CC BY-SA 3.0 |
added 2613 characters in body
|
Jul 23, 2014 at 15:02 | comment | added | Nzall | it's not that important, since there's no other country starting with AT. | |
Jul 23, 2014 at 15:01 | comment | added | Nzall | I'll add the full function in addition to the snippet. | |
Jul 23, 2014 at 15:01 | comment | added | Schism |
I'm working on an answer. Is it critical that Austria match to AT despite being ATU , or is it okay to just change the function call to ATUVAT... (or alias)?
|
|
Jul 23, 2014 at 15:00 | comment | added | megawac | Then you should include the entire functions mate, not just a snippet. And also give a way to call the function | |
Jul 23, 2014 at 14:54 | comment | added | Nzall | vatNumber is the argument of the function. defCode is the default country identification code for numbers that don't have a code specified (i.e. those from Belgium). | |
Jul 23, 2014 at 14:51 | answer | added | Flambino | timeline score: 3 | |
Jul 23, 2014 at 14:22 | comment | added | megawac |
You didn't give us a bunch of variables... First whats vatNumber , defCode , etc
|
|
Jul 23, 2014 at 14:13 | history | edited | Nzall | CC BY-SA 3.0 |
added 234 characters in body
|
Jul 23, 2014 at 12:00 | history | asked | Nzall | CC BY-SA 3.0 |