Some more ideas
Posted: Wed Feb 02, 2011 7:39 am
Some more small thoughts regarding TextCrawler:
1) I often use the Regular Expression Tester and mostly compare the results in the result windows "Matches (Text)" and "Replacements". For a good comparison a split window would be nice to see them both at the same time but it's also ok to quickly switch between the tabs per click. But the "Replacements" window adds the headline "(Preview with Replacements)". This is ok as a reminder but adds one line compared to the "Matches (Text)" window. So when you quickly switch back-forth-back-forth it's harder to spot small differences because of the line leap.
Maybe an extra empty first line in the "Matches (Text)" window would solve that.
2) Another idea for the Regular Expression Tester: so you tested your RegEx and are satisfied with the results. Then you have to manually copy the search-line and replace-line into the main window. A button beneath the Close button like "Close and copy pattern to the main window" (only shorter
would be more comfortable.
2) When I am doing a RegEx search like "LogFile.*" this finds the text "LogFile" up to the end of the line (in case the option "Dot Matches Newline" is not checked).
This is fine and exactly what I want but when I am doing an Extract on the same pattern all these found text lines are chained together into the scratchpad, without a newline at the end.
Would it be possible to pass those search results with the newline included to the scratchpad and instead add a "Remove Linebreaks" in the scratchpad's drop-down box?
1) I often use the Regular Expression Tester and mostly compare the results in the result windows "Matches (Text)" and "Replacements". For a good comparison a split window would be nice to see them both at the same time but it's also ok to quickly switch between the tabs per click. But the "Replacements" window adds the headline "(Preview with Replacements)". This is ok as a reminder but adds one line compared to the "Matches (Text)" window. So when you quickly switch back-forth-back-forth it's harder to spot small differences because of the line leap.
Maybe an extra empty first line in the "Matches (Text)" window would solve that.
2) Another idea for the Regular Expression Tester: so you tested your RegEx and are satisfied with the results. Then you have to manually copy the search-line and replace-line into the main window. A button beneath the Close button like "Close and copy pattern to the main window" (only shorter

2) When I am doing a RegEx search like "LogFile.*" this finds the text "LogFile" up to the end of the line (in case the option "Dot Matches Newline" is not checked).
This is fine and exactly what I want but when I am doing an Extract on the same pattern all these found text lines are chained together into the scratchpad, without a newline at the end.
Would it be possible to pass those search results with the newline included to the scratchpad and instead add a "Remove Linebreaks" in the scratchpad's drop-down box?