in reply to script running on linux but not windows
You should not change the slashes in the remaining 3 lines of code because they delimit regular expressions.
but does not run on windowsYou should be able to start to debug where things go wrong. Then you can narrow down your problem and post other, more specific questions: Basic debugging checklist
|
|---|