Add to the regular expression that detects the line the carrier return (\r), as $ is not representing the same as it's fed from the issue text.
For detecting if the module list has ended, we were not taking into account that there can be modules already migrated, and thus, the x should be included in such regular expression.
This commit includes 2 fixes:
$
is not representing the same as it's fed from the issue text.x
should be included in such regular expression.@Tecnativa