Skip to content

Commit 64d9bf3

Browse files
committed
Fix Typo in preg match
1 parent b87738b commit 64d9bf3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SourceTextParser.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class SourceTextParser{
1818

1919

2020
// Establish the version of the library
21-
const version = '0.4.2';
21+
const version = '0.4.4';
2222

2323

2424
/**
@@ -1777,7 +1777,7 @@ protected function blockLiturgicalResponseComplete(array $CurrentBlock){
17771777

17781778
protected function blockLiturgicalIntercession( $Line, array $CurrentBlock = null ){
17791779
// [II], [IR], [I1], [I2], or [IXtra]
1780-
if (preg_match('/^\[\I(I|R|1|2|Xtra)\]/', $Line['text'], $matches)){
1780+
if (preg_match('/^\[I(I|R|1|2|Xtra)\]/', $Line['text'], $matches)){
17811781
$element = $matches[0];
17821782
$this->intercessionResponse = null;
17831783

@@ -1950,15 +1950,15 @@ protected function blockLiturgicalIntercessionFormat( $Element, $Text, &$BlockRe
19501950
}
19511951
}
19521952
}else if( $Type == 'extra'){
1953-
var_dump( $this->intercessionResponse );
1953+
//var_dump( $this->intercessionResponse );
19541954
}
19551955

19561956

19571957
return;
19581958
}
19591959

19601960
protected function blockLiturgicalIntercessionContinue($Line, array $CurrentBlock){
1961-
if (preg_match('/^\[\I(I|R|1|2|Xtra)\]/', $Line['text'], $matches)){
1961+
if (preg_match('/^\[I(I|R|1|2|Xtra)\]/', $Line['text'], $matches)){
19621962
$element = $matches[0];
19631963

19641964
++$CurrentBlock['data']['lines'];

0 commit comments

Comments
 (0)