Menu

Which regexp engine does TXS use?

Mast B.
2015-03-03
2015-03-03
  • Mast B.

    Mast B. - 2015-03-03

    I apologise if this was mentioned somewhere, but I couldn't find it in the manual.

    Which regexp engine does TXS use for normal search/replace in the editor?

    In particular I'm looking to use a non-greedy modifier (e.g. Perl's .*?) as well as singleline modifier to allow . to match newlines as well (e.g. Perl's s).

    I noticed that .*? doesn't work so it must be using a non-Perl compatible regexp engine.

    Cheers

    p.s. If this info is not in the manual, then you may want to add it.

     
  • Benito van der Zander

    It uses QRegExp

    But you cannot use (global) modifiers

     

    Last edit: Benito van der Zander 2015-03-03

Anonymous
Anonymous

Add attachments
Cancel