Closed
Description
What version of regex are you using?
Regex 1.5.2
, regex-syntax 0.6.24
Describe the bug at a high level.
regex-syntax
doesn't compile when default features are turned off and unicode-perl
is turned on.
What are the steps to reproduce the behavior?
Create a new cargo project and list either regex
or regex-syntax
with default-features turned off and unicode-perl
turned on. Easy repro: clone this git repository: https://github.com/ThouCheese/regex-issue
What is the actual behavior?
I expect this to compile.
What is the expected behavior?
I doesn't compile with the error message:
|
375 | use unicode_tables::perl_decimal::DECIMAL_NUMBER;
| ^^^^^^^^^^^^^^ use of undeclared crate or module `unicode_tables`
This should be fixed if line 375 is changed to use crate::unicode_tables::perl_decimal::DECIMAL_NUMBER;
, I believe.