Commit 45f25e2
Support trailing comments (#38)
The original Ruby dotenv supports trailing comments as it is valid shell
syntax. In general it would be good to conform to the regular expression
as defined here:
https://github.com/bkeepers/dotenv/blob/master/lib/dotenv/parser.rb#L14-L30
Co-authored-by: Carmine DiMascio <cdimasci@amazon.com>1 parent e52b498 commit 45f25e2
File tree
4 files changed
+4
-1
lines changed- src
- main/java/io/github/cdimascio/dotenv/internal
- test
- java/tests
- resources
4 files changed
+4
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
0 commit comments