Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It's a genetic algorithm to build the gene string "hello world"
Hey Steffan, I've added "modify" to the list of rejected words. That should resolve it.
Ha ha. Coding is fun, especially when I get to use OOP. What makes codewars fun is people like yourself interacting with the community. So thank you for that =).
But why make something simple, when you can make it scalable =P
People will always find a way to break something XD. I've edited the test with a new regex which should fix it.
Well, I don't want to make it too complicated now do I?
This comment is hidden because it contains spoiler information about the solution
Cool thanks. I'll have a look at your code to see how you did it for future reference.
Good to know =D
Not gonna lie, I don't know Ruby, so doing these translations are my introduction to rspec, and I'm not a fan. I wouldn't know how to go about making random tests for this.
Shell testing setup allows for cheating.
Oh, alright then. Yes the change in the regex is as follows:
From:
"/(?:[^\<\>\=\s\w;]|\$\w+)(?:[\s]*)?\(/"
To:
"/(?:[^\<\>\=\s\w;]|\\$\w+)(?:[\s]*)?\(/"
Ah, there was an issue with the regex. It matched on regex101, but I overlooked that you would need to escape the dollar from PHP fiirst and then escape it again from regex, so I've just published the change since it was just adding a backslash into the pattern.
Dang, you're absolutely right. Hopefully my latest fork should prevent any further cheating.
Ha ha no worries. Thanks for approving. Expect a Shell translation too when I get around to it.
Oh wow. This should be nice and easy wtih PHP. Thank you XD
Yeah that works. I'll implement that now. Thank you.
Loading more items...