Great job MP and Lee Mac!
I should have included
"{Challenge}" in the topic's name, since it looks like one.
Here's another way:
...
Approach, what exactly I had in mind:
If its possible with regular expressions, then by knowing the correct expression one could do it in a lisp routine through the regexp object and process that certain .lsp file. (as a regex dummy, just asking: anyone about to try?)
So thanks Lee, really apreciate this one!
I have two (offtopic) questions, though:
- Whats the general use of regular expressions? Is it somewhat a very powerful wcmatch function?
- How/where one can visualise/test the regex pattern, so it works as expected?
The regex dummy asking, hope you don't mind (or anyone if could answer).