pattern | ShEx file --- | --- /bc/ | 1literalPattern /^bc/ | 1literalStartPattern /bc$/ | 1literalPatternEnd /\^bc\$/ | 1literalCarrotPatternDollar literal | data file --- | --- ab | Is1_Ip1_Lab.ttl bc | Is1_Ip1_Lbc.ttl cd | Is1_Ip1_Lcd.ttl ^bc$ | Is1_Ip1_LCarrotbcDollar.ttl
ab bccd^bc$
/bc/ f p f p
<#1literalPattern_fail-ab>
<#1literalPattern_pass-lit-match>
<#1literalPattern_fail-cd>
<#1literalPattern_pass-CarrotbcDollar>
/^bc/ p f
<#1literalStartPattern_pass-bc>
<#1literalStartPattern_fail-CarrotbcDollar>
/bc$/ p f
<#1literalPatternEnd_pass-bc>
<#1literalPatternEnd_fail-CarrotbcDollar>
/\^bc\$/ f p
<#1literalCarrotPatternDollar_fail-bc>
<#1literalCarrotPatternDollar_pass-CarrotbcDollar>