mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
BUG_REPORT.md: Update sed regex match to skip other HTML attributes
A line can now be: <h2><a id="module_bcmath" href="#module_bcmath">bcmath</a></h2> Instead of just: <h2><a id="module_bcmath">bcmath</a></h2>
This commit is contained in:
2
.github/ISSUE_TEMPLATE/BUG_REPORT.md
vendored
2
.github/ISSUE_TEMPLATE/BUG_REPORT.md
vendored
@@ -57,7 +57,7 @@ PHP Version 7.3.13
|
||||
5. Paste everything into the "STDIN:" box
|
||||
6. In the "Command line (--help):" box, write:
|
||||
|
||||
-rn 's|<h2><a id="module_[^"]+">([^<]+)</a></h2>|\1|p'
|
||||
-rn 's|<h2><a id="module_[^"]+"[^>]+>([^<]+)</a></h2>|\1|p'
|
||||
|
||||
7. Copy everything from the "STDOUT | STDERR:" box.
|
||||
8. Paste what you copied here, replacing this whole "PHP Modules" section.
|
||||
|
Reference in New Issue
Block a user