Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerToys: Add two examples of RegEx search/replace #3976

Merged
merged 1 commit into from
Aug 1, 2022
Merged

PowerToys: Add two examples of RegEx search/replace #3976

merged 1 commit into from
Aug 1, 2022

Conversation

Jay-o-Way
Copy link
Contributor

@PRMerger4
Copy link
Contributor

@Jay-o-Way : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Jak-MS
Copy link
Contributor

Jak-MS commented Aug 1, 2022

@mattwojo

Can you review this PR?

IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@PRMerger3 PRMerger3 added the aq-pr-triaged tracking label for the PR review team label Aug 1, 2022
@Jay-o-Way
Copy link
Contributor Author

Jay-o-Way commented Aug 1, 2022

@Jak-MS Interesting that you do the same thing as what the bot already did 🙃

| `(^\w+\.$)¦(^\w+$)` | `$2.txt` | Appends ".txt" extension to existing file name only if it does not have an extension |
| `(\d\d)-(\d\d)-(\d\d\d\d)` | `$3-$2-$1` | Move numbers in the filename: "29-03-2020" becomes "2020-03-29" |
| Search for | Replace with | Description |
|:--------------------------------------------------------|:-------------|:-------------------------------------------------------------------------------------|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note about this table formatting: The dashes here are just a formatting preference for the markdown. Doesn't impact the way the table appears after being built.

Copy link
Contributor Author

@Jay-o-Way Jay-o-Way Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah I know, just clicked "expand this table" in VS Code. I can use both.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh! Right on - haven't tried that. Good to know that's how it handles it. I've seen writers have strong opinions on what is "best" (which clearly doesn't matter... but you know, folks love to have strong opinions). 😜

Copy link
Contributor

@mattwojo mattwojo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@mattwojo
Copy link
Contributor

mattwojo commented Aug 1, 2022

#sign-off

@Jak-MS Jak-MS merged commit 97a159d into MicrosoftDocs:docs Aug 1, 2022
@Jay-o-Way Jay-o-Way deleted the add-examples-to-PowerRename branch August 1, 2022 20:43
learn-build-service-prod bot pushed a commit that referenced this pull request Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants