Skip to content

Conversation

SmithChart
Copy link
Member

Until now the columns of a .rr-files could only be separated by spaces.
This regularly leads to not working redirects, where the generated source-file would contain tabs as part of the file name.

This comes down to how the regex parses the file: Before this change only spaces were not part of source and destination - but other whitespace was ok.

With this change source and destination can not contain any whitespace. Thus tabs are parsed as separators - as one would expect.

Until now the columns of a `.rr`-files could only be separated by
spaces.
This regularly leads to not working redirects, where the generated
source-file would contain tabs as part of the file name.

This comes down to how the regex parses the file: Before this change
only spaces were not part of source and destination - but other
whitespace was ok.

With this change source and destination can not contain any whitespace.
Thus tabs are parsed as separators - as one would expect.

Signed-off-by: Chris Fiege <[email protected]>
@SmithChart
Copy link
Member Author

Will merge this for now and fix the failing CI afterwards. We should be fine if we only support python stating at 3.9 or something. It should be safe to drop 3.7...

@SmithChart SmithChart merged commit 9d2e55e into pengutronix:master Oct 16, 2025
2 of 7 checks passed
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.

2 participants