Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Zero width regex match causes heap to run out of memory #44

@Ingramz

Description

@Ingramz

I noticed that when searching for (?=a) in find-and-replace, it's causing heap to run out of memory via scandal.

Edit by @rsese to add repro steps

  1. git clone https://github.com/atom/find-and-replace // I'm at ec58b34a
  2. atom --safe find-and-replace
  3. Project Find: Show
  4. Enable Use Regex
  5. Search for (?=a)

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions