File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/recipes/hanayama_huzzles Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export class HanayamaHuzzlesRecipe implements Recipe {
9898
9999 #markdownTableStringToHuzzles( markdownTableString : string ) : HanayamaHuzzle [ ] {
100100 const arrayOfArrays = this . markdownTableConverter . arrayOfArraysFromString ( markdownTableString ) ;
101- const imageLinksRegex = new RegExp ( / ! \[ [ ^ \] ] + \] \( (?< link > [ ^ ) ] + ) (? = \) ) / g) ; // https://regex101.com/r/YlCOgc/2
101+ const imageLinkRegex = new RegExp ( / ! \[ [ ^ \] ] + \] \( (?< link > [ ^ ) ] + ) (? = \) ) / g) ; // https://regex101.com/r/YlCOgc/2
102102
103103 return arrayOfArrays . flatMap ( array => {
104104 if ( array . length < 5 ) {
@@ -110,7 +110,7 @@ export class HanayamaHuzzlesRecipe implements Recipe {
110110 const name = array [ 2 ] ;
111111
112112 const images = array [ 3 ] ;
113- const imageLinkMatches = images . matchAll ( imageLinksRegex ) ;
113+ const imageLinkMatches = images . matchAll ( imageLinkRegex ) ;
114114 const imageLinks = Array . from ( imageLinkMatches ) . flatMap ( match => {
115115 if ( match == null || match . groups == null ) {
116116 return [ ] ;
You can’t perform that action at this time.
0 commit comments