Skip to content

Commit

Permalink
docs: Fix a couple README typos. (#65)
Browse files Browse the repository at this point in the history
- Use Sentence case instead of Title Case to be consistent with the
other section headers
 - Use the same comment leader as the before example
  • Loading branch information
JeffFaer authored Jan 17, 2025
1 parent df93c27 commit 31879fb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ progress = (
</tr>
</table>

#### Regular Expressions
#### Regular expressions

It can be useful to sort an entire group based on a non-prefix substring. The
option `by_regex=…` takes a comma-separated list of [regular
Expand Down Expand Up @@ -521,19 +521,19 @@ String bar;
<td>

```diff
+# keep-sorted start by_regex=\w+;
+// keep-sorted start by_regex=\w+;
String bar;
Object baz;
List<String> foo;
# keep-sorted end
// keep-sorted end
```

```diff
+# keep-sorted start by_regex=\w+; prefix_order=foo
+// keep-sorted start by_regex=\w+; prefix_order=foo
List<String> foo;
String bar;
Object baz;
# keep-sorted end
// keep-sorted end
```

</td>
Expand Down

0 comments on commit 31879fb

Please sign in to comment.