|
From: SourceForge.net <no...@so...> - 2009-01-30 05:42:30
|
Documentation Bugs item #2508336, was opened at 2009-01-14 17:33 Message generated for change (Comment added) made by maredudd800 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=748234&aid=2508336&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Clarification Group: For 5.16.0 >Status: Closed >Resolution: Fixed >Priority: 6 Private: No Submitted By: Maredudd (maredudd800) >Assigned to: Maredudd (maredudd800) Summary: [OS] TEXT.REPLACE docs need clarification Initial Comment: >From this message: http://games.groups.yahoo.com/group/pcgen/message/98905 - The regular expression parser we use is the Java one, which is described at http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html and http://java.sun.com/docs/books/tutorial/essential/regex/ The format of the tag is TEXT.REPLACEALL(regex,newtext) or TEXT.REPLACEFIRST(regex,newtext) I'm thinking that will make the replacing of brackets difficult though. The best approach might be to use a character class, (see http://java.sun.com/docs/books/tutorial/essential/regex/pre_char_classes.html ) and target it that way. -- Cheers, James Dempsey PCGen Code SB ---------------------------------------------------------------------- >Comment By: Maredudd (maredudd800) Date: 2009-01-30 00:42 Message: Docs updated. svn #9147 Tracker to be closed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=748234&aid=2508336&group_id=25576 |