@@ -571,11 +571,11 @@ contains
571
571
logical, intent(in), optional :: back
572
572
integer :: pos
573
573
574
- if(present(back))then
575
- pos = index(maybe(string), maybe(substring),back)
574
+ if (present(back)) then
575
+ pos = index(maybe(string), maybe(substring), back)
576
576
else
577
- pos = index(maybe(string), maybe(substring),.false.)
578
- endif
577
+ pos = index(maybe(string), maybe(substring), .false.)
578
+ end if
579
579
580
580
end function index_string_string
581
581
@@ -587,11 +587,11 @@ contains
587
587
logical, intent(in), optional :: back
588
588
integer :: pos
589
589
590
- if(present(back))then
591
- pos = index(maybe(string), substring,back)
590
+ if (present(back)) then
591
+ pos = index(maybe(string), substring, back)
592
592
else
593
- pos = index(maybe(string), substring,.false.)
594
- endif
593
+ pos = index(maybe(string), substring, .false.)
594
+ end if
595
595
596
596
end function index_string_char
597
597
@@ -603,11 +603,11 @@ contains
603
603
logical, intent(in), optional :: back
604
604
integer :: pos
605
605
606
- if(present(back))then
607
- pos = index(string, maybe(substring),back)
606
+ if (present(back)) then
607
+ pos = index(string, maybe(substring), back)
608
608
else
609
- pos = index(string, maybe(substring),.false.)
610
- endif
609
+ pos = index(string, maybe(substring), .false.)
610
+ end if
611
611
612
612
end function index_char_string
613
613
@@ -621,11 +621,11 @@ contains
621
621
logical, intent(in), optional :: back
622
622
integer :: pos
623
623
624
- if(present(back))then
625
- pos = scan(maybe(string), maybe(set),back)
624
+ if (present(back)) then
625
+ pos = scan(maybe(string), maybe(set), back)
626
626
else
627
- pos = scan(maybe(string), maybe(set),.false.)
628
- endif
627
+ pos = scan(maybe(string), maybe(set), .false.)
628
+ end if
629
629
630
630
end function scan_string_string
631
631
@@ -637,11 +637,11 @@ contains
637
637
logical, intent(in), optional :: back
638
638
integer :: pos
639
639
640
- if(present(back))then
641
- pos = scan(maybe(string), set,back)
640
+ if (present(back)) then
641
+ pos = scan(maybe(string), set, back)
642
642
else
643
- pos = scan(maybe(string), set,.false.)
644
- endif
643
+ pos = scan(maybe(string), set, .false.)
644
+ end if
645
645
646
646
end function scan_string_char
647
647
@@ -653,11 +653,11 @@ contains
653
653
logical, intent(in), optional :: back
654
654
integer :: pos
655
655
656
- if(present(back))then
657
- pos = scan(string, maybe(set),back)
656
+ if (present(back)) then
657
+ pos = scan(string, maybe(set), back)
658
658
else
659
- pos = scan(string, maybe(set),.false.)
660
- endif
659
+ pos = scan(string, maybe(set), .false.)
660
+ end if
661
661
662
662
end function scan_char_string
663
663
@@ -671,11 +671,11 @@ contains
671
671
logical, intent(in), optional :: back
672
672
integer :: pos
673
673
674
- if(present(back))then
675
- pos = verify(maybe(string), maybe(set),back)
674
+ if (present(back)) then
675
+ pos = verify(maybe(string), maybe(set), back)
676
676
else
677
- pos = verify(maybe(string), maybe(set),.false.)
678
- endif
677
+ pos = verify(maybe(string), maybe(set), .false.)
678
+ end if
679
679
680
680
end function verify_string_string
681
681
@@ -688,11 +688,11 @@ contains
688
688
logical, intent(in), optional :: back
689
689
integer :: pos
690
690
691
- if(present(back))then
692
- pos = verify(maybe(string), set,back)
691
+ if (present(back)) then
692
+ pos = verify(maybe(string), set, back)
693
693
else
694
- pos = verify(maybe(string), set,.false.)
695
- endif
694
+ pos = verify(maybe(string), set, .false.)
695
+ end if
696
696
697
697
end function verify_string_char
698
698
@@ -705,11 +705,11 @@ contains
705
705
logical, intent(in), optional :: back
706
706
integer :: pos
707
707
708
- if(present(back))then
709
- pos = verify(string, maybe(set),back)
708
+ if (present(back)) then
709
+ pos = verify(string, maybe(set), back)
710
710
else
711
- pos = verify(string, maybe(set),.false.)
712
- endif
711
+ pos = verify(string, maybe(set), .false.)
712
+ end if
713
713
714
714
end function verify_char_string
715
715
0 commit comments