Reply to topic  [ 1 post ] 
Balance parentheses or regexp query 
Author Message

Joined: 2005-07-29 06:35:13
Posts: 9
Location: UK
I am an old-time Nisus user (version 1), and happy to be making a return visit!

Is it possible to balance parenthses?

I have expressions like this:

\fmath{{\mathrm{T}}_{2}}

I need a way (preferably with regexp) to select this pattern, which may contain any number of nested braces. It should recognize the last closing brace as the end of the expression.

I remember I used balance parenthesis before, but regexp would be better as it can be embedded in a perl script. Any hints welcome.

_________________
Kaveh Bazargan
kaveh@rivervalleytechnologies.com
www.rivervalleytechnologies.com


2005-07-29 06:39:46
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software