Skip to content

Remove use of QRegExp - #67

Merged
MHendricks merged 3 commits into
mainfrom
mikeh/qregexp
Sep 17, 2026
Merged

MHendricks merged 3 commits into
mainfrom
mikeh/qregexp

Conversation

@MHendricks

@MHendricks MHendricks commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

QRegExp was removed in Qt6. Qt.py incorrectly exposed QRegularExpression as it but the api is not compatible so it will be removed in the future. Switch to us ing QRegularExpression. This also changes the UI from using QRegExp to Regex.

Also fixes some issues if PrEditor gets initialized in pytest.

Checklist

  • I have read the CONTRIBUTING.md document
  • I formatted my changes with black
  • I linted my changes with flake8
  • I have added documentation regarding my changes where necessary
  • Any pre-existing tests continue to pass
  • Additional tests were made covering my changes

Types of Changes

  • Bugfix (change that fixes an issue)
  • New Feature (change that adds functionality)
  • Documentation Update (if none of the other choices apply)

Pytest would raise a `ValueError: I/O operation on closed file` exception
on its final teardown. This addresses that.
@MHendricks
MHendricks merged commit e6dd558 into main Sep 17, 2026
21 checks passed
@MHendricks
MHendricks deleted the mikeh/qregexp branch September 17, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant