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