Dear all,
Here comes the next step:
There are quite a lot of new things in it so please also read the HELP scratch.
In short terms:
Changes for 'Search': - you can look across \n - you can specify more the one regexp group - If you select text (also across \n or \t) Hypersearch assumes that you are looking for a string not via regexp. Thus it will change RegExp option according to the content of your selection and escape the string if needed automatically. - you can display each RegExp group $1, $2, .. separately (useful when using embedded parenthesis because hyperlinks don't work properly)
New function:
GetAllMatches -based on a grouped regular expression or a single field delimiter it outputs all matches table-like according to the chosen data format -data formats are customizable via property lists by using TM or Property List Editor (Edit GetAll Formats opens a project for that) -you can create new formats based on 'new.plist' as template -output behavior is selectable within the tm_dialog (insert, replace, create new document,..) -Search and GetAllMatches are based on the same plist, so you can use Search to fine-tune your regexp and then open GetAllMatches with the latest regexp -five data formats are predefined: TAB 1\t2\t3\n HTML <tr><td>1</td><td>2</td><td>3</td></tr> HTMLindented <tr> <td>1</td> <td>2</td> <td>3</td> </tr> HTMLTAB <table> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> </table> CSV "1","2","3"\n
Now you can e.g. -convert XML to TAB or visa versa; -type a table with TAB and RETURN within your HTML document and convert this selection to HTML syntax by specifying the field delimiter TAB; -get all function names or string variables out of your script file -and and and ... see two examples in the HELP
!! Comments, bug reports, and suggestions are welcomed as always.
To install the bundle it is recommended to delete the old Hypersearch bundle in beforehand.
Cheers,
Hans
PS I get many mails mentioning that Hypersearch is also quite useful for learning regular expressions ;)