| |||||||||
| |||||||||
Writing Templates - Regular Expression Tag
BeanMaker's Regular Expression Tag is a very powerful tag that can be used to replace strings in another string. For example,
a regular expression tag can be used to convert a Java package definition (dot-delimited name) to a file path: For example, to display the full file path of a file inside a Java class: /* * Package: $package$ * Filename: $regex ('$package$','\.','\')$$class$.java * Class: $class$.java */ Regular Expressions More help on the RegEx syntax BeanMaker supports can be found on Andrey's web-site at: Support: Please note that the author of TRegExpr cannot answer direct questions on BeanMaker usage. If you need any help with BeanMaker please use CyLog Software's contact page at: www.cylog.org/contactus.asp |
|||||||||
Copyright ©2000-2006 CyLog Software www.cylog.org | |||||||||