Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

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

Closed
jessicajaniuk wants to merge 1 commit intoangular:mainangular/angular:mainfrom
jessicajaniuk:migration-ngifjessicajaniuk/angular:migration-ngifCopy head branch name to clipboard
Closed

fix(migrations): fix regexp for else and then in cf migration#53257
jessicajaniuk wants to merge 1 commit intoangular:mainangular/angular:mainfrom
jessicajaniuk:migration-ngifjessicajaniuk/angular:migration-ngifCopy head branch name to clipboard

Conversation

@jessicajaniuk
Copy link
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
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

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.