Quote:
I have slightly modified the function so the json file is not modified anymore ....
|
Thanks lomkiri your latest installment of the function is a big improvement for me. I actually have two data files, one all lower case, and the other with a capitalised first letter. I have now merged these files into one.
The file now has 400 entries. Even with a file this size the function only takes a second or two to run.
My ultimate goal would be to have a function that would work as though it were possible to have a json something like this (similar to Saved Searches):
Code:
{"([P|p])aul([a-z]+)": "\1ol\2"}
I think that would find Paul paul Pauline pauline Paula paula and so on and invent several new names.