Skip to content

fix(migrations): fix regexp for else and then in cf migration#53257

Closed
jessicajaniuk wants to merge 1 commit intoangular:mainfrom
jessicajaniuk:migration-ngif
Closed

fix(migrations): fix regexp for else and then in cf migration#53257
jessicajaniuk wants to merge 1 commit intoangular:mainfrom
jessicajaniuk:migration-ngif

Conversation

@jessicajaniuk
Copy link
Copy Markdown
Contributor

The regexp for then and else did not ignore alphanumeric characters prior to the then and else. So if a string contained then, for example Authentication, it would incorrectly match as a then clause.

fixes: #53252

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix

Does this PR introduce a breaking change?

  • Yes
  • No

The regexp for then and else did not ignore alphanumeric characters prior to the then and else. So if a string contained then, for example Authentication, it would incorrectly match as a then clause.

fixes: angular#53252
@jessicajaniuk jessicajaniuk added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release area: migrations Issues related to `ng update`/`ng generate` migrations labels Nov 29, 2023
@ngbot ngbot bot modified the milestone: Backlog Nov 29, 2023
@jessicajaniuk jessicajaniuk added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 29, 2023
@dylhunn
Copy link
Copy Markdown
Contributor

dylhunn commented Nov 30, 2023

This PR was merged into the repository by commit 03e2f1b.

dylhunn pushed a commit that referenced this pull request Nov 30, 2023
The regexp for then and else did not ignore alphanumeric characters prior to the then and else. So if a string contained then, for example Authentication, it would incorrectly match as a then clause.

fixes: #53252

PR Close #53257
@dylhunn dylhunn closed this in 03e2f1b Nov 30, 2023
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 31, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
…r#53257)

The regexp for then and else did not ignore alphanumeric characters prior to the then and else. So if a string contained then, for example Authentication, it would incorrectly match as a then clause.

fixes: angular#53252

PR Close angular#53257
rlmestre pushed a commit to rlmestre/angular that referenced this pull request Jan 26, 2024
…r#53257)

The regexp for then and else did not ignore alphanumeric characters prior to the then and else. So if a string contained then, for example Authentication, it would incorrectly match as a then clause.

fixes: angular#53252

PR Close angular#53257
amilamen pushed a commit to amilamen/angular that referenced this pull request Jan 26, 2024
…r#53257)

The regexp for then and else did not ignore alphanumeric characters prior to the then and else. So if a string contained then, for example Authentication, it would incorrectly match as a then clause.

fixes: angular#53252

PR Close angular#53257
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: migrations Issues related to `ng update`/`ng generate` migrations target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Control flow schematic: error thrown while migrating ngIf condition

4 participants