Skip to content

Commit

Permalink
Make ini file example not nested twice
Browse files Browse the repository at this point in the history
In the rendering on docs.raku.org it's a raku-code/raku-lang with a
nohighlights inside of it, which is probably not what we want
  • Loading branch information
timo authored Dec 27, 2024
1 parent 8e397fd commit 4aab8e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Language/regexes.rakudoc
Original file line number Diff line number Diff line change
Expand Up @@ -967,10 +967,10 @@ first matching alternative wins.

For example, C<ini> files have the following form:

=begin code :lang<text>
[section]
key = value
=end code
=begin code :lang<text>
[section]
key = value
=end code

Hence, if you parse a single line of an C<ini> file, it can be either a
section or a key-value pair and the regex would be (to a first
Expand Down

0 comments on commit 4aab8e2

Please sign in to comment.