Skip to content

Conversation

@panzhe-0322
Copy link

@panzhe-0322 panzhe-0322 commented Jan 4, 2026

The re_escape function in 90kernel-modules-extra/module-setup.sh incorrectly added a backslash escape for the '/' character , which is not a regular expression special character. This redundant escape triggers a 'stray \ before /' warning in grep when processing paths containing '/'.

This pull request changes...

Changes

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #

The re_escape function in 90kernel-modules-extra/module-setup.sh incorrectly added a
backslash escape for the '/' character , which is not a regular expression special character.
This redundant escape triggers a 'stray \ before /' warning in grep when processing paths containing '/'.
@github-actions github-actions bot added modules Issue tracker for all modules kernel-modules-extra Issues related to the kernel-modules-extra module labels Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel-modules-extra Issues related to the kernel-modules-extra module modules Issue tracker for all modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant