def list(mal, args): """Show all the animes on the users list.""" # . matches any character except line breaks # + matches one or more occurences of the previous character core.find(mal, '.+', args.section, extra=args.extend, user=args.user)
def filter(mal, args): """Search and find an anime in the users list.""" core.find(mal, args.anime_regex.lower(), extra=args.extend, user=args.user)