Re: [Framers] Regular Expressions

2021-07-16 Thread Craig Ede
Wouldn’t you know it! And then there is the Python version…

Craig

…snipped…
there are very subtle differences between "egrep", "grep", "Perl" (FM internal) 
and "JavaScript" (in
ExtendScript)...

Klaus

___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com


Re: [Framers] Regular Expressions

2021-07-16 Thread Klaus Daube
On 15 Jul 2021 at 11:28, r...@rickquatro.com wrote:

> Once I figured out the regular expression pattern ...

For that purpuse I have installed www.regexbuddy.com - and there is an 
automatic to 
link to this in my favourite editor EditPad Pro from the same developer crew 
https://www.just-great-software.com/

RegexBuddy can handly nearly all flavours of RegEx - there are very subtle 
differences between "egrep", "grep", "Perl" (FM internal) and "JavaScript" (in 
ExtendScript)...

Klaus
~~~
Klaus Daube Phone:  +41-44-381 37 77
Schäracher 11   Mail:   kl...@daube.ch
CH-8053 Zürich  Web:www.daube.ch


___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com


Re: [Framers] Regular Expressions

2021-07-15 Thread Reng Winfried
Hi,

Yes! Regular expressions are extremely valuable!
I use regular expressions in scripts very rarely. But that's only because I 
will have 
to learn, how to use them in scripts.
I use regular expressions mainly for these tasks:
o Select a certain group of files in my file manager. Modify file names.
  (I really like Total Commander!)
o  Use Notepad++ to modify text from our software terminology (special format) 
and other texts.
o And of course in FrameMaker, when I have more complex search/replace tasks.

Best regards

Winfried

-Original Message-
From: Framers 
 On Behalf 
Of r...@rickquatro.com
Sent: Thursday, July 15, 2021 5:28 PM
To: 'An email list for people using Adobe FrameMaker software.' 

Subject: Re: [Framers] Regular Expressions

Regular expressions are so useful in a lot of different contexts, including 
FrameMaker, ExtendScript, XSLT, Notepad++, etc. I just did an ExtendScript job 
this morning that uses regular expressions to parse out comma-separated text. 
Once I figured out the regular expression pattern, the rest of it was easy. 
Thanks for posting the link.

Rick Quatro
Carmen Publishing Inc.
585-729-6746
r...@frameexpert.com
http://www.frameexpert.com/store

-Original Message-
From: Framers  On 
Behalf Of Shmuel Wolfson
Sent: Thursday, July 15, 2021 4:38 AM
To: Techshoret List ; Framers List 

Subject: [Framers] Regular Expressions

   I found this great site for regular expressions. [1]https://regexr.com/

   It has a really nice summary of the regular expressions syntax - click
   on Cheatsheet - and a test area where you can test your regular
   expressions.

   Note that in FrameMaker, the regular expression A-Z finds lowercase
   letters also, unless you select Consider Case.

   HTH

   --
   Shmuel Wolfson
   Technical Writer
   058-763-7133

References

   1. https://regexr.com/ 
___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com


Re: [Framers] Regular Expressions

2021-07-15 Thread rick
Regular expressions are so useful in a lot of different contexts, including
FrameMaker, ExtendScript, XSLT, Notepad++, etc. I just did an ExtendScript
job this morning that uses regular expressions to parse out comma-separated
text. Once I figured out the regular expression pattern, the rest of it was
easy. Thanks for posting the link.

Rick Quatro
Carmen Publishing Inc.
585-729-6746
r...@frameexpert.com
http://www.frameexpert.com/store



-Original Message-
From: Framers  On
Behalf Of Shmuel Wolfson
Sent: Thursday, July 15, 2021 4:38 AM
To: Techshoret List ; Framers List

Subject: [Framers] Regular Expressions

   I found this great site for regular expressions. [1]https://regexr.com/

   It has a really nice summary of the regular expressions syntax - click
   on Cheatsheet - and a test area where you can test your regular
   expressions.

   Note that in FrameMaker, the regular expression A-Z finds lowercase
   letters also, unless you select Consider Case.

   HTH

   --
   Shmuel Wolfson
   Technical Writer
   058-763-7133

References

   1. https://regexr.com/
___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com Visit the list's homepage at
http://www.frameusers.com Archives located at
http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com


[Framers] Regular Expressions

2021-07-15 Thread Shmuel Wolfson
   I found this great site for regular expressions. [1]https://regexr.com/

   It has a really nice summary of the regular expressions syntax - click
   on Cheatsheet - and a test area where you can test your regular
   expressions.

   Note that in FrameMaker, the regular expression A-Z finds lowercase
   letters also, unless you select Consider Case.

   HTH

   --
   Shmuel Wolfson
   Technical Writer
   058-763-7133

References

   1. https://regexr.com/
___

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com