lib: fix broken string escapes in doc comments (#486608)
This commit is contained in:
@@ -862,7 +862,7 @@ in
|
||||
# but removing a subdirectory using file set functions
|
||||
difference
|
||||
(fromSource (lib.sources.sourceByRegex ./. [
|
||||
"^README\.md$"
|
||||
"^README\\.md$"
|
||||
# This regex includes everything in ./doc
|
||||
"^doc(/.*)?$"
|
||||
])
|
||||
|
||||
+1
-1
@@ -200,7 +200,7 @@ let
|
||||
## `sourceByRegex` usage example
|
||||
|
||||
```nix
|
||||
src = sourceByRegex ./my-subproject [".*\.py$" "^database.sql$"]
|
||||
src = sourceByRegex ./my-subproject [".*\\.py$" "^database\\.sql$"]
|
||||
```
|
||||
|
||||
:::
|
||||
|
||||
Reference in New Issue
Block a user