Jun-07-2019, 11:57 PM
i had match bugs with that pattern an re-wrote the code this afternoon using a custom pattern format just for this case. if the pattern had a '0' it tested the character with .isdecimal(), else it compared the character to the pattern character. i had about 3100 files with a name that had the date+time on the end followed by some other stuff in many cases, with the original name at the front. i wanted to transpose each file's original name and date+time to be date+time then original name. some had various time formats, just to complicate things more. some had original names with numbers in them, even dates. but it's done now.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.