Skip to content

Commit 7ccd683

Browse files
Fix links in globals doc
1 parent 3fa74bf commit 7ccd683

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

doc/language/globals.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ These global variables store information about the most recent
133133
successful match in the current scope.
134134

135135
For details and examples,
136-
see {Regexp Global Variables}[rdoc-ref:Regexp@Global+Variables].
136+
see [Regexp Global Variables].
137137

138138
### `$~` (\MatchData)
139139

@@ -341,7 +341,7 @@ Aliased as `$-d`.
341341
### `$VERBOSE`
342342

343343
Initially `true` if [command-line option `-v`] or
344-
[`-w`][command-line option `-w`] is given, otherwise initially `false`;
344+
[command-line option `-w`] is given, otherwise initially `false`;
345345
may be set to either value, or to `nil`, in the running program.
346346

347347
When `true`, enables Ruby warnings.
@@ -597,14 +597,15 @@ Output:
597597
"Baz\n"
598598
```
599599

600-
601-
[command-line option `-0`]: rdoc-ref:language/options.md@0-3A+Set+-24-2F+-28Input+Record+Separator-29
602-
[command-line option `-F`]: rdoc-ref:language/options.md@F-3A+Set+Input+Field+Separator
603-
[command-line option `-a`]: rdoc-ref:language/options.md@a-3A+Split+Input+Lines+into+Fields
604-
[command-line option `-d`]: rdoc-ref:language/options.md@d-3A+Set+-24DEBUG+to+true
605-
[command-line option `-i`]: rdoc-ref:language/options.md@i-3A+Set+ARGF+In-Place+Mode
606-
[command-line option `-l`]: rdoc-ref:language/options.md@l-3A+Set+Output+Record+Separator-3B+Chop+Lines
607-
[command-line option `-p`]: rdoc-ref:language/options.md@p-3A+-n-2C+with+Printing
608-
[command-line option `-v`]: rdoc-ref:language/options.md@v-3A+Print+Version-3B+Set+-24VERBOSE
609-
[command-line option `-w`]: rdoc-ref:language/options.md@w-3A+Synonym+for+-W1
600+
[command-line option `-0`]: rdoc-ref:language/options.md@-0-set--input-record-separator
601+
[command-line option `-F`]: rdoc-ref:language/options.md@-f-set-input-field-separator
602+
[command-line option `-a`]: rdoc-ref:language/options.md@-a-split-input-lines-into-fields
603+
[command-line option `-d`]: rdoc-ref:language/options.md@-d-set-debug-to-true
604+
[command-line option `-i`]: rdoc-ref:language/options.md@-i-set-argf-in-place-mode
605+
[command-line option `-l`]: rdoc-ref:language/options.md@-l-set-output-record-separator-chop-lines
606+
[command-line option `-p`]: rdoc-ref:language/options.md@-p--n-with-printing
607+
[command-line option `-v`]: rdoc-ref:language/options.md@-v-print-version-set-verbose
608+
[command-line option `-w`]: rdoc-ref:language/options.md@-w-synonym-for--w1
609+
610+
[Regexp Global Variables]: rdoc-ref:Regexp@Global+Variables
610611

0 commit comments

Comments
 (0)