mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix regex of 'and' adjectivization rule (#1225)
This commit is contained in:
parent
d06ebe5ac8
commit
ab08dc9429
2 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ const adjectivizationRules = [
|
|||
{
|
||||
name: "an",
|
||||
probability: 0.5,
|
||||
condition: new RegExp("^[a-zA-Z]{0-7}$"),
|
||||
condition: new RegExp("^[a-zA-Z]{0,7}$"),
|
||||
action: noun => trimVowels(noun) + "an"
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue