I just took a peek at the usage of findAllUniqueFlag : it's not used anymore. So in fact the find-all-unique-regex now does nothing more than find-all.
This should be fixed/removed in some way... :) Not sure what decision to take as I'm not understanding really what that command was used for originally :/ Félix On Saturday, February 4, 2023 at 8:43:58 PM UTC-5 Félix wrote: > Trying to finish the big cleanup of leoFind.py, leoFind.ts in leojs and > the find commands in leoserver.py, i'm a bit stumped with > "find-all-unique-regex"... > > This command does a find-all with the "findAllUniqueFlag" internal flag > 'on'. So far so good... > > Is it normal that it does not set the regex flag (self.pattern_match) 'on' > too? maybe i'm induced in thinking that it should because of the 'regex' in > the name? > > In fact, i guess my real question is: can someone explain what > the find-all-unique-regex actually is intended for? it's not evident from > the docstring alone because this command does not force the 'regex' flag > (self.pattern_match) to anything in particular. > > Thanks in advance! > > Félix > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/9a60420b-641e-49d1-b404-ba72ccec96acn%40googlegroups.com.