Actionscript regex false negative
The list of words is very long, I cannot paste the actual code that bugs
out here. The regex whitelist has approx 4500 words in it seprated by a |
Both the regex, whitelist and whitelist2 includes the word hello but the
test for each returns different results and I have no idea why after
testing the same with javascript which gives correct results.
Here is the actionscript for testing. The line for whitelist might not be
visible entirely, try copying pasting the code from the link below in your
text/code editor. http://wonderfl.net/c/jTmb/
No comments:
Post a Comment