Skip to content

Commit 3992092

Browse files
aman-godarajvdp1
andauthored
updated "syntax" to highlight optional arguments as optional
Co-authored-by: Jeremie Vandenplas <jeremie.vandenplas@gmail.com>
1 parent 4e923b4 commit 3992092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/specs/stdlib_strings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ If `occurrence`th occurrence is not found, function returns `0`.
286286

287287
#### Syntax
288288

289-
`string = [[stdlib_strings(module):find(interface)]] (string, pattern, occurrence, consider_overlapping)`
289+
`string = [[stdlib_strings(module):find(interface)]] (string, pattern [, occurrence, consider_overlapping])`
290290

291291
#### Status
292292

@@ -327,4 +327,4 @@ program demo_find
327327
print *, find("qwqwqwq", "qwq", 3, [.false., .true.]) ! [0, 5]
328328
329329
end program demo_find
330-
```
330+
```

0 commit comments

Comments
 (0)