mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 18:41:23 +01:00
fix regex of 'and' adjectivization rule
This commit is contained in:
parent
d06ebe5ac8
commit
049f8b97a4
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