Colonoscopy

View: New views
3 Messages — Rating Filter:   Alert me  

Colonoscopy

by shelane :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am finding that since I've started using paren syntax, old pages I load
with colon syntax almost hurts my eyes. The manual process of changing is
quite something. I think a few reg exp replacements with Bbedit would make
it easier, but it's something I suck at.

Something for:

[field: 'name']

Replacing [field: to [field( is easy, but doing it with the 'anycharacters
between quotes' and adding the ) after is not so easy.

Has anyone being working on something like this?

Obviously, there are tags that have attributes with - preceeding them that
changes things, but..



--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/



Re: Colonoscopy

by Johan Solve :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I use this pattern, run it multiple times until there are no more
matches. Be careful, use "replace and find again" instead of "replace
all" so you can examine each match carefully!

Search
        (?si)(\()?(\w+?): *(.+?)((?(1)\)|([;\]])))
Replace
        \2(\3)\5
       
       
The end result can contain unnecessary parenthesis, clean up with this:
Search
        \((\(.*?\))\)
Replace
        \1


On Wed, Jul 8, 2009 at 4:57 PM, Shelane Enos<senos@...> wrote:

> I am finding that since I've started using paren syntax, old pages I load
> with colon syntax almost hurts my eyes. The manual process of changing is
> quite something. I think a few reg exp replacements with Bbedit would make
> it easier, but it's something I suck at.
>
> Something for:
>
> [field: 'name']
>
> Replacing [field: to [field( is easy, but doing it with the 'anycharacters
> between quotes' and adding the ) after is not so easy.
>
> Has anyone being working on something like this?
>
> Obviously, there are tags that have attributes with - preceeding them that
> changes things, but..
>
>
>
> --
> This list is a free service of LassoSoft: http://www.LassoSoft.com/
> Search the list archives: http://www.ListSearch.com/Lasso/Browse/
> Manage your subscription: http://www.ListSearch.com/Lasso/
>
>
>



--
Mvh
Johan Sölve
____________________________________
Montania System AB
Halmstad   Stockholm   Malmö
http://www.montania.se

Johan Sölve
Mobil +46 709-51 55 70
johan@...

Kristinebergsvägen 17, S-302 41 Halmstad, Sweden
Telefon +46 35-136800 |  Fax +46 35-136801

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/



The [Reference] Tag

by Michael Benedict :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yesterday my hosting service relocated my servers. As a result my serves
were taken down, moved to another location and restarted. HERE is my
problem.

The [Reference] Tag stopped working properly.

Here is the code that always worked fine:
Variable: 'HTML_text_Map'= (Reference: (Global: ('html_' + $event_id)));

The global is there I can see it... And this edited code works fine.

Variable: 'HTML_text_Map'= (Global: ('html_' + $event_id));

As You can see I simply removed the [Reference] Tag...

Is there some Lasso server setting that may cause this issue?

MS Server 2003
Lasso 8.5
FileMaker SA v8

Thanks for any ideas.
Michael



--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/