(source: string)
| 18 | /** Where a pattern says {name}: optional fillers, an optional article and kind noun, the name as typed, an optional kind noun. */ |
| 19 | const NAME = String.raw`(?:(?:${FILLER})\s+)*(?:(?:the|a|an|der|die|das|den|dem|des)\s+)?(?:(?:${KIND})\s+)?[@\x60'"]?([A-Za-z_][\w.:/]*)[\x60'"]?(?:\s+(?:${KIND})\b)?`; |
| 20 | const pattern = (source: string) => new RegExp(source.replace('{name}', NAME), 'iu'); |
| 21 | /** One word between the name and the verb ("wird JSONBAgg überall aufgerufen"), umlauts included. */ |
| 22 | const WORD = String.raw`(?:[\p{L}\w]+\s+)?`; |
| 23 | /** Where a German question asks from where; never its subject. */ |
no outgoing calls
no test coverage detected