g.findUnl is the handler for path-based unls. It contains two regex patterns:
# (file_name):(comma-separated list of node indices) old_pat = re.compile(r'^(.*):(\d+),?(\d+)?,?([-\d]+)?,?(\d+)?$') # (file_name)::(line_number). new_pat = re.compile(r'^(.*?)(::)([-\d]+)?$') Leo's present unit tests cover only the new pattern. Notice the inconsistencies in the old regex. Does anyone still use it? Removing the old regex would eliminate other strange code. leoJS would benefit. g.findUnl will remain unchanged for Leo 6.7.4. Your comments, please. Edward -- 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/40ba6063-0ec1-492a-bc29-74b98337b316n%40googlegroups.com.