• 
      

    Reject the Lua %f frontier pattern instead of mistranslating it.

    Review Request #15273 — Created Sept. 4, 2026 and submitted

    Information

    Review Board
    release-9.x

    Reviewers

    %f fell into the unnecessarily-escaped-character branch and silently
    became a literal "f", changing the meaning of any pattern using it.
    Python regexes have no equivalent construct, so the converter now logs
    an error and returns None, matching the existing %b handling.

    • Added %f cases to the conversion error tests.
    • Ran all reviewboard/treesitter tests.
    Summary ID
    Reject the Lua %f frontier pattern instead of mistranslating it.
    `%f` fell into the unnecessarily-escaped-character branch and silently became a literal "f", changing the meaning of any pattern using it. Python regexes have no equivalent construct, so the converter now logs an error and returns None, matching the existing `%b` handling. Testing: - Added `%f` cases to the conversion error tests. - Ran all reviewboard/treesitter tests.
    lqsqruvvprpxurxzsuppytplynztklsu
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-9.x (1528b75)