@@ -571,11 +571,11 @@ contains
571571 logical, intent(in), optional :: back
572572 integer :: pos
573573
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)
576576 else
577- pos = index(maybe(string), maybe(substring),.false.)
578- endif
577+ pos = index(maybe(string), maybe(substring), .false.)
578+ end if
579579
580580 end function index_string_string
581581
@@ -587,11 +587,11 @@ contains
587587 logical, intent(in), optional :: back
588588 integer :: pos
589589
590- if(present(back))then
591- pos = index(maybe(string), substring,back)
590+ if (present(back)) then
591+ pos = index(maybe(string), substring, back)
592592 else
593- pos = index(maybe(string), substring,.false.)
594- endif
593+ pos = index(maybe(string), substring, .false.)
594+ end if
595595
596596 end function index_string_char
597597
@@ -603,11 +603,11 @@ contains
603603 logical, intent(in), optional :: back
604604 integer :: pos
605605
606- if(present(back))then
607- pos = index(string, maybe(substring),back)
606+ if (present(back)) then
607+ pos = index(string, maybe(substring), back)
608608 else
609- pos = index(string, maybe(substring),.false.)
610- endif
609+ pos = index(string, maybe(substring), .false.)
610+ end if
611611
612612 end function index_char_string
613613
@@ -621,11 +621,11 @@ contains
621621 logical, intent(in), optional :: back
622622 integer :: pos
623623
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)
626626 else
627- pos = scan(maybe(string), maybe(set),.false.)
628- endif
627+ pos = scan(maybe(string), maybe(set), .false.)
628+ end if
629629
630630 end function scan_string_string
631631
@@ -637,11 +637,11 @@ contains
637637 logical, intent(in), optional :: back
638638 integer :: pos
639639
640- if(present(back))then
641- pos = scan(maybe(string), set,back)
640+ if (present(back)) then
641+ pos = scan(maybe(string), set, back)
642642 else
643- pos = scan(maybe(string), set,.false.)
644- endif
643+ pos = scan(maybe(string), set, .false.)
644+ end if
645645
646646 end function scan_string_char
647647
@@ -653,11 +653,11 @@ contains
653653 logical, intent(in), optional :: back
654654 integer :: pos
655655
656- if(present(back))then
657- pos = scan(string, maybe(set),back)
656+ if (present(back)) then
657+ pos = scan(string, maybe(set), back)
658658 else
659- pos = scan(string, maybe(set),.false.)
660- endif
659+ pos = scan(string, maybe(set), .false.)
660+ end if
661661
662662 end function scan_char_string
663663
@@ -671,11 +671,11 @@ contains
671671 logical, intent(in), optional :: back
672672 integer :: pos
673673
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)
676676 else
677- pos = verify(maybe(string), maybe(set),.false.)
678- endif
677+ pos = verify(maybe(string), maybe(set), .false.)
678+ end if
679679
680680 end function verify_string_string
681681
@@ -688,11 +688,11 @@ contains
688688 logical, intent(in), optional :: back
689689 integer :: pos
690690
691- if(present(back))then
692- pos = verify(maybe(string), set,back)
691+ if (present(back)) then
692+ pos = verify(maybe(string), set, back)
693693 else
694- pos = verify(maybe(string), set,.false.)
695- endif
694+ pos = verify(maybe(string), set, .false.)
695+ end if
696696
697697 end function verify_string_char
698698
@@ -705,11 +705,11 @@ contains
705705 logical, intent(in), optional :: back
706706 integer :: pos
707707
708- if(present(back))then
709- pos = verify(string, maybe(set),back)
708+ if (present(back)) then
709+ pos = verify(string, maybe(set), back)
710710 else
711- pos = verify(string, maybe(set),.false.)
712- endif
711+ pos = verify(string, maybe(set), .false.)
712+ end if
713713
714714 end function verify_char_string
715715
0 commit comments