Skip to content

Commit 5926fe5

Browse files
authored
Update README.md
change `regex_op` to `regex_pattern`
1 parent 6a9ac93 commit 5926fe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The main API is modelled around Fortran's `index` intrinsic function (which perf
2727

2828
### Object-oriented interface
2929

30-
One can also parse a regex pattern into a `type(regex_op)` structure, and use that instead of a string pattern. I have no idea why this should be useful, but at least it's given with a consistent interface
30+
One can also parse a regex pattern into a `type(regex_pattern)` structure, and use that instead of a string pattern. I have no idea why this should be useful, but at least it's given with a consistent interface
3131

3232
### Overview
3333

@@ -66,7 +66,7 @@ program test_regex
6666
6767
integer :: idx,ln
6868
character(*), parameter :: text = 'table football'
69-
type(regex_op) :: re
69+
type(regex_pattern) :: re
7070
7171
! Parse pattern into a regex structure
7272
re = parse_pattern('foo*')

0 commit comments

Comments
 (0)