~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

(parthm) Better regex compile errors (Parth Malwankar)

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
    format_date,
87
87
    format_date_with_offset_in_original_timezone,
88
88
    get_terminal_encoding,
89
 
    re_compile_checked,
90
89
    terminal_width,
91
90
    )
92
91
from bzrlib.symbol_versioning import (
811
810
    """
812
811
    if search is None:
813
812
        return log_rev_iterator
814
 
    searchRE = re_compile_checked(search, re.IGNORECASE,
815
 
            'log message filter')
 
813
    searchRE = re.compile(search, re.IGNORECASE)
816
814
    return _filter_message_re(searchRE, log_rev_iterator)
817
815
 
818
816