Revision: 44888
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44888&view=rev
Author:   brlcad
Date:     2011-06-10 17:09:14 +0000 (Fri, 10 Jun 2011)

Log Message:
-----------
have been using emacs syntax to date, but change over to perl syntax so we can 
easily show users how to apply a minimally impacting regex to their file(s)

Modified Paths:
--------------
    brlcad/trunk/doc/deprecation.txt

Modified: brlcad/trunk/doc/deprecation.txt
===================================================================
--- brlcad/trunk/doc/deprecation.txt    2011-06-10 16:51:33 UTC (rev 44887)
+++ brlcad/trunk/doc/deprecation.txt    2011-06-10 17:09:14 UTC (rev 44888)
@@ -362,13 +362,17 @@
 Basically, the impact can usually be considered minor if a static
 regular expression search-and-replace is all that is needed to update.
 Included in following are various minimally impacting API changes that
-have been identified in reverse chronological order.  As expressions
-are not extensively tested, use with caution.
+have been identified in reverse chronological order.  As expressions are
+not extensively tested, use with caution.
 
-s/BU_ARGS(\([^)]*\))/\1/mg
+Expressions are shown using Perl syntax and may need adjustment
+(particularly quoting of '(', ')', and '|') for other environments.
+Most expressions will apply with: perl -007 -pi -e 'EXPRESSION' FILE
+
+s/[[:space:]]BU_ARGS[[:space:]]*\([[:space:]]*([^)]*[[:space:]]*)[[:space:]]*\)/\1/g
         BU_ARGS() no longer necessary due to C89 minimum, list args [7.20]
 
-s/BU_EXTERN[[:space:]]*([[:space:]]*\(.*\)[[:space:]]*,[[:space:]]*([[:space:]]*\(.*\)[[:space:]]*)[[:space:]]*)/extern
 \1(\2)/mg
+s/BU_EXTERN[[:space:]]*\([[:space:]]*(.*)[[:space:]]*,[[:space:]]*\([[:space:]]*(.*)[[:space:]]*\)[[:space:]]*\)/extern
 \1(\2)/mg
         BU_EXTERN() no longer necessary due to C89 minimum, use extern [7.20]
 
 s/SPM_NULL/BN_SPM_MAP_NULL/g


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to