done with allowing different types of endMarkers
This commit is contained in:
@@ -634,8 +634,10 @@ struct
|
||||
val fpList = getFollowsForPositionAndChar (regex, hd, char)
|
||||
val {sawConcat, follows, charIsMatch} = fpList
|
||||
val follows =
|
||||
if charIsMatch andalso not sawConcat then 0 :: follows
|
||||
else follows
|
||||
if charIsMatch andalso not sawConcat then
|
||||
(Char.ord Fn.endMarker) :: follows
|
||||
else
|
||||
follows
|
||||
|
||||
val followSet =
|
||||
List.foldl
|
||||
|
||||
Reference in New Issue
Block a user