Skip to content

Commit

Permalink
remove http constraint 🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
caroott committed Jun 11, 2024
1 parent e245460 commit 5031507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/YAMLicious/Regex.fs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ let KeyPattern =
[<Literal>]
let KeyValuePattern =
#if FABLE_COMPILER_PYTHON
"^(?P<key>[a-zA-Z0-9\s:]+[^https?:]):\s*(?P<value>.*)$"
"^(?P<key>[a-zA-Z0-9\s:]+):\s*(?P<value>.*)$"
#else
"^(?<key>[a-zA-Z0-9\s:]+[^https?:]):\s*(?<value>.*)$"
"^(?<key>(?<!https:)[a-zA-Z0-9\s:]+):\s*(?<value>(.*))$"
#endif

let LineCommentPattern =
Expand Down

0 comments on commit 5031507

Please sign in to comment.