Crash on regular expression find and replace for multiple spaces.
Steps to Reproduce
Working on .HTML files, tried several
Find/replace for regex: "\s\s+" and replace with nothing
cursor changes to the spinning ball and the Developer console shows a thrown exception (can't save the console - doesn't seem to work when I select "save as" because of application state, I believe.
Expected behavior: [What you expected to happen]
Replace multiple white spaces without application hanging.
Actual behavior: [What actually happened]
The replacement happens, but the application hangs with a spinning cursor. Need to exit and restart. Debug console shows:
"Exception in 'doReplaceAll' listener
Versions
Please include the OS and what version of the OS you're running.
System Software Overview:
System Version: macOS 11.2.1 (20D74)
Kernel Version: Darwin 20.3.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: Deborah’s 13" MacBook Pro
User Name: Deborah Mundorff (deborahmundorff)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 1 day 20:46
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro17,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
System Firmware Version: 6723.81.1
Serial Number (system): FVFF51WU0KPF
Hardware UUID: 737535BB-67D6-5E22-9E16-589CAF43B0E5
Provisioning UDID: 00008103-001C58A0343A001E
Activation Lock Status: Enabled
Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)
Release 1.14 build 1.14.2-17770 (release-1.14.2 f71f00acc)
build timestamp: Tue Mar 31 2020 00:41:05 GMT-0700
Issue by mundorfd Thursday Feb 25, 2021 at 16:46 GMT Originally opened as https://github.com/adobe/brackets/issues/15324
Prerequisites
Debug -> Reload Without Extensions
?Description
Crash on regular expression find and replace for multiple spaces.
Steps to Reproduce
Expected behavior: [What you expected to happen] Replace multiple white spaces without application hanging.
Actual behavior: [What actually happened]
The replacement happens, but the application hangs with a spinning cursor. Need to exit and restart. Debug console shows:
"Exception in 'doReplaceAll' listener
Versions
Please include the OS and what version of the OS you're running.
System Software Overview:
System Version: macOS 11.2.1 (20D74) Kernel Version: Darwin 20.3.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: Deborah’s 13" MacBook Pro User Name: Deborah Mundorff (deborahmundorff) Secure Virtual Memory: Enabled System Integrity Protection: Enabled Time since boot: 1 day 20:46 Hardware Overview:
Model Name: MacBook Pro Model Identifier: MacBookPro17,1 Chip: Apple M1 Total Number of Cores: 8 (4 performance and 4 efficiency) Memory: 16 GB System Firmware Version: 6723.81.1 Serial Number (system): FVFF51WU0KPF Hardware UUID: 737535BB-67D6-5E22-9E16-589CAF43B0E5 Provisioning UDID: 00008103-001C58A0343A001E Activation Lock Status: Enabled
Please include the version of Brackets. You can find it under
Help -> About Brackets
(Windows and Linux) orBrackets -> About Brackets
(macOS) Release 1.14 build 1.14.2-17770 (release-1.14.2 f71f00acc) build timestamp: Tue Mar 31 2020 00:41:05 GMT-0700