Skip to content

Commit 713eeed

Browse files
committed
fix recursive function matchpattern
1 parent 97cdbd5 commit 713eeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/regex.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ end function re_matchp
711711

712712

713713
! Iterative matching
714-
logical function matchpattern(pattern, text, matchlength) result(match)
714+
recursive logical function matchpattern(pattern, text, matchlength) result(match)
715715
type(regex_token), intent(in) :: pattern(:)
716716
character(kind=RCK,len=*), intent(in) :: text
717717
integer, intent(inout) :: matchlength

0 commit comments

Comments
 (0)