enchancing stripDelimiter function to work properly with special unicode characters like umlauts etc. #674
Thanks for the pull request! I added some additional test cases. The reason the toLowercase() call is there is to support SqlServer's GO delimiter which can vary in case.
However, I have never been happy with the current solution, so any improvement in that area is welcome. Could you make sure your changes work with the new test cases?
Sorry you were right. Laptop, train and poor network are not a great combination :-)
They should be checked in now.
Maybe a simple solution could be to threat SqlServer separately, as it is the only DB where the delimiter is expected to be on its own line and it is case insensitive.
As soon as non standard delimiter can be currently provided only in same MySQL file with sql statements, i assume that doing all this de-/capitalizing stuff for delimiter is an overhead.
If you've provided "GO" as delimiter at start, you shouldn't user "go" a line below.