<p dir="auto">Using Version 0.201.0 (0.201.0) on OS X Yosemite.</p>
<p dir="auto">Given this:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/c5f0499d290e743543fcb3cd4dc8c3de2a34af6aeda85e5a153c1081938f112e/687474703a2f2f7331382e706f7374696d672e6f72672f646c72716e303176642f696e7075742e706e67"><img src="https://camo.githubusercontent.com/c5f0499d290e743543fcb3cd4dc8c3de2a34af6aeda85e5a153c1081938f112e/687474703a2f2f7331382e706f7374696d672e6f72672f646c72716e303176642f696e7075742e706e67" alt="foo bar and baz on separate lines" data-canonical-src="http://s18.postimg.org/dlrqn01vd/input.png" style="max-width: 100%;"></a></p>
<p dir="auto">When I click 'Replace All' I get this:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/35bf060e12bfe640163166c994d3bcf255f297fb89cc726e6ed51798c24ef924/687474703a2f2f7332332e706f7374696d672e6f72672f67737479646e76367a2f61637475616c2e706e67"><img src="https://camo.githubusercontent.com/35bf060e12bfe640163166c994d3bcf255f297fb89cc726e6ed51798c24ef924/687474703a2f2f7332332e706f7374696d672e6f72672f67737479646e76367a2f61637475616c2e706e67" alt="the first line looking correct" data-canonical-src="http://s23.postimg.org/gstydnv6z/actual.png" style="max-width: 100%;"></a></p>
<p dir="auto">But I expected this:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/1a47a2817f27aa4cf2d5c7d4f862576e07502706c0cf1054d9b3f20618ddb2bc/687474703a2f2f7332322e706f7374696d672e6f72672f7770767765376476352f65787065637465642e706e67"><img src="https://camo.githubusercontent.com/1a47a2817f27aa4cf2d5c7d4f862576e07502706c0cf1054d9b3f20618ddb2bc/687474703a2f2f7332322e706f7374696d672e6f72672f7770767765376476352f65787065637465642e706e67" alt="all lines looking correct" data-canonical-src="http://s22.postimg.org/wpvwe7dv5/expected.png" style="max-width: 100%;"></a></p>
<p dir="auto">Not sure if this is a bug or by design. Either way I thought I should raise it.</p>
<p dir="auto">Cheers,<br>
Matt.</p>
<p dir="auto">In Sublime Text and Text Wrangler it is possible to do regex find and replace such as this</p>
<p dir="auto">Find : ^\d{2}$\n<br>
Replace: </p>
<p dir="auto">to find lines that are two digits only and delete them. In Atom, it can match the lines but cannot do the replace. When clicking on 'Replace All' the text remains unchanged.</p>
<p dir="auto">Version 0.75.0, Platform:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/129028/2705472/9dd6310a-c47e-11e3-98a0-686f6b15baf6.png"><img src="https://cloud.githubusercontent.com/assets/129028/2705472/9dd6310a-c47e-11e3-98a0-686f6b15baf6.png" alt="atomregex copy" style="max-width: 100%;"></a><br>
Mac OS X Mavericks</p>