1 parent fd21a2f commit 2de4fc9Copy full SHA for 2de4fc9
1 file changed
ruleset-style.md
@@ -38,6 +38,8 @@ plus a plain rewrite from "^http:" to "^https:".
38
39
Prefer dashes over underscores in filenames. Dashes are easier to type.
40
41
+Use tabs and double quotes (`"`, not `'`).
42
+
43
When matching an arbitrary DNS label (a single component of a hostname), prefer
44
`([\w-]+)` for a single label (i.e www), or `([\w.-]+)` for multiple labels
45
(i.e. www.beta). Avoid more visually complicated options like `([^/:@\.]+\.)?`.
@@ -98,3 +100,4 @@ test URLs:
98
100
to="https:" />
99
101
102
</ruleset>
103
0 commit comments