image marker regex
This commit is contained in:
parent
947b722230
commit
ef5da802db
@ -1,5 +1,6 @@
|
|||||||
// the regexps below are shared, so they shoudn't have state (no 'g' flag)
|
// the regexps below are shared, so they shoudn't have state (no 'g' flag)
|
||||||
export const variableRegex = /\{([^{#\/:]+?)\}/
|
export const variableRegex = /\{([^{#\/:]+?)\}/
|
||||||
|
export const imageMarkerRegex = /{#image\s+([^}]+?)\s*}/;
|
||||||
|
|
||||||
export const ifStartMarkerRegex = /{#if\s+([^}]+?)\s*}/;
|
export const ifStartMarkerRegex = /{#if\s+([^}]+?)\s*}/;
|
||||||
export const elseMarker = '{:else}'
|
export const elseMarker = '{:else}'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user