From: Bernard D. <bde...@us...> - 2019-11-14 17:19:48
|
This is hopefully fixed now after a complete overhaul of the Supersearch package and the introduction of a new core command [scanFile](https://alphacocoa.sourceforge.io/Syntax/scanFile.html). Changes committed to the repository ([rev. 1810](https://sourceforge.net/p/alphacocoa/code/1810/)). The core must be rebuilt. --- ** [tickets:#221] Search in Filesets is broken if regexp contains \n** **Status:** open **Created:** Thu Nov 07, 2019 03:55 PM UTC by Bernard Desgraupes **Last Updated:** Thu Nov 07, 2019 04:03 PM UTC **Owner:** Bernard Desgraupes (This bug was reported on the AlphaDev list by John Morris. I'm entering it in the bug tracker for easier reference) Original message: << Searching inside a fileset seems to change how the Regexp search works. Simple searches (those not using any grep at all and some using just simple grep) seem to work fine. However, a somewhat more complex search fails completely. It does not find anything in the current window and does not find anything in any of the other files in the fileset. For what it’s worth, I am using TeX filesets in Alpha 9.1 running on a 2014 MacBook Pro under Mojave (10.14.6). The “more complex” search that is giving me trouble right now has (?s)(monetary)(( +)| *(\n) *)(polic[^\s]+) in the Find field and \1-\5\4 in the Replace field. The response I get in the status bar is “Can’t find '(?s)(monetary)(( +)| *(\n) *)(polic[^\s]+)'; and there are no more files to search.” A partial work around to this problem is to press command-G after I get that error, which takes me through all instances of the search in that file. However, that does not cycle through the other files in the fileset. Finally, this problem does not seem to be restricted to filesets. Any selection In the Multiple Files panel seems to cause this problem.>> --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |