Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8712549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:08:04+00:00 2026-06-13T05:08:04+00:00

After executing the below command my powershell pegged at 97% CPU and completely froze.

  • 0

After executing the below command my powershell pegged at 97% CPU and completely froze. I am able to consistently reproduce this behavior. Any idea if it’s a bug or have I done some no-no?

$anew -match '((.*)+([v]\d{1}\.\d{1}\..*)$)'

$anew is an array of about 35 lines long, which holds config dump from a server. It looks similar to this:

Directory: \aaa.net\builds\directedbuilds\bbbb\ccc\dddd\eee

Mode LastWriteTime Length Name
—- ————- —— —-
d—- 10/15/2012 6:12 PM v2.1.0.69
Environment : AB-34
Servers_in_Environment : SERVER01;SERVER02
NgatRootFolder : E:\DIRNAME
PFXfilename : star.dom.net.pfx
etc…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:08:06+00:00Added an answer on June 13, 2026 at 5:08 am

    Your pattern starts with (.*)+, this is likely to lead to O(n3) performance, due to backtracking. You should probably use (^(.*)([v]\d{1}\.\d{1}\..*)$) (no extra +, and anchored) to avoid issues with very slow backtracking evaluation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an awesome trouble with Gem. After executing this command: rm -f /usr/local/lib/ruby/gems/1.9.1/cache/*
I am able to backup mysql database via command line by executing the below
Why after executing the command openssl sha1 < /dev/null | wc --bytes the output
This class hangs at Future.get() method after executing ExecutorService.shutdownNow() called. I don't know what
Puzzled... after executing the 10 lines of code below, elem1 is defined, and elem2
Executing the below SQL is giving this error . alter table TABLE_NAME ADD FILE_DATA
I am getting the following response after executing the code shown below the response.
I am writing History.newItem(step2) but even after executing this instruction the method it should
Is there any difference between using t.references and executing SQL command to create foreign
I use the below command to delete some files after reboot the machine: MoveFileEx(PChar(File_Address),

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.