Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern inconsistencies list : example with implicit Pattern playstring conversion and other Pattern bugs #5

Open
e-lie opened this issue Apr 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@e-lie
Copy link
Owner

e-lie commented Apr 18, 2024

In some cases the implicit conversion behind the Pattern class produces unwanted result:

>>> print(PRand([".c..c...","c...c...","....c..."])[:16])

P['.', '.', '.', '.', '.', '.', '.', 'c', '.', '.', '.', '.', 'c', '.', '.', '.']

There are plenty other cases (not involving strings necessarily) that are kinda bugs of the FoxDot/renardo pattern system. If you encounter some please drop them here...

@e-lie e-lie changed the title Problem with implicit Pattern playstring conversion. Problem with implicit Pattern playstring conversion and other Pattern bugs Apr 18, 2024
@e-lie e-lie changed the title Problem with implicit Pattern playstring conversion and other Pattern bugs Pattern inconsistencies list : example with implicit Pattern playstring conversion and other Pattern bugs Apr 18, 2024
@e-lie e-lie added the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant