Commit 8ad0d2a
committed
Decypher regexp at purescript-indentation-peek-token
The 204 characters line full of backslashes and parentheses isn't the
most readable code. Replace it with `rx` expression instead, which
makes author's intentions much clearer.
As can be checked by evaluation, the resulting regexp is exactly the
same, barring the "'_" part was moved to the left of [:alnum:].1 parent 09327cb commit 8ad0d2a
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
998 | 998 | | |
999 | 999 | | |
1000 | 1000 | | |
1001 | | - | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
1002 | 1008 | | |
1003 | 1009 | | |
1004 | 1010 | | |
| |||
0 commit comments