Package: rover
Version: 0.3.1

Rover will crash if I search with *
It's clear that we need to deal with malformed regex if there is any.

Traceback (most recent call last):
  File "/usr/bin/rover", line 389, in <module>
  File "/usr/bin/rover", line 204, in refresh_selections
    lp_list =
  File "/usr/bin/rover", line 117, in get_selections
    matched = [x for x in result.split('\n')
  File "/usr/bin/rover", line 118, in <listcomp>
    if (expr.lower() in x.lower()) or re.match(expr, x)]
  File "/usr/lib/python3.7/", line 173, in match
    return _compile(pattern, flags).match(string)
  File "/usr/lib/python3.7/", line 286, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/lib/python3.7/", line 764, in compile
    p = sre_parse.parse(p, flags)
  File "/usr/lib/python3.7/", line 930, in parse
    p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
  File "/usr/lib/python3.7/", line 426, in _parse_sub
    not nested and not items))
  File "/usr/lib/python3.7/", line 651, in _parse
    source.tell() - here + len(this))
re.error: nothing to repeat at position 0

Reply via email to