These are chat archives for camperbot/bonfire-no-repeats-please

17th
Sep 2015
Jacob Jamell
@jjamell
Sep 17 2015 03:00
I used heap's algorithm and then filtered using a regex test, but it's still returning too many permutations
Jacob Jamell
@jjamell
Sep 17 2015 03:41
looking at what the regex is actually returning, it just seems to be completely random and not at all what I specified. Weird.
Jacob Jamell
@jjamell
Sep 17 2015 03:52
Nailed it. Use string.match(regex) instead of regex.test(string) That worked for me for some reason.