regexml-convert-perl-tests

Crates.ioregexml-convert-perl-tests
lib.rsregexml-convert-perl-tests
version0.1.2
created_at2025-03-19 14:04:04.625102+00
updated_at2025-03-19 14:54:00.701922+00
descriptionConvert Perl tests to Rust tests
homepage
repositoryhttps://github.com/Paligo/regexml
max_upload_size
id1598031
size137,556
xee-team (github:paligo:xee-team)

documentation

https://docs.rs/regexml-convert-perl-tests

README

regexml-convert-perl-tests

The qt3 test suite for XPath and XML Schema contains, in the directory fn/matches/perl-tests.xml testing information for XML XPath regex. The provenance of this file is unclear, and so it the meaning of some of its result attributes, but it probably derives from a test suite for Perl regexes.

This contains code to generate the regexml/tests/test_qt_perl_matches.rs module from the included copy of the perl-tests.xml file.

Should you need to update perl-tests.xml you can update it in this module, re-run the script as follows (from the project root):

cargo run -p regexml-convert-perl-tests > regexml/tests/test_qt_perl_matches.rs
Commit count: 243

cargo fmt