One more replacement for some new comments in JaxB
F: */\*\*.*\n.*(Gets|Sets) [EMAIL PROTECTED]/.*\n
R:
Also note that the text starts with the first character after the
':'. In this case the first character is ' '.
-dain
On Jul 15, 2006, at 6:40 PM, David Blevins wrote:
Posting these here so I don't loose them. These regex's yank out
boiler-plate javadoc that is pretty much meaningless. It should
leave good javadoc behind.
F: */\*\*.*\n.*(Gets|Sets) the.*\n.*\n.*@(return|param).*\n.*
(possible|allowed).*\n.*link.*\n.*\n.*\*/.*\n
R:
F: */\*\*\n(^ +\*.*\n){5}(^.*inside the JAXB.*\n)(^ +\*.*\n){8}^ +
\*/\n
R:
F:^//.*\n^//.*\n^//.*\n^//.*\n^//.*\n^//.*\n
R:/**\n *\n * Copyright 2006 The Apache Software Foundation or
its licensors, as applicable.\n *\n * Licensed under the Apache
License, Version 2.0 (the "License");\n * you may not use this
file except in compliance with the License.\n * You may obtain a
copy of the License at\n *\n * http://www.apache.org/licenses/
LICENSE-2.0\n *\n * Unless required by applicable law or agreed
to in writing, software\n * distributed under the License is
distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.\n * See the
License for the specific language governing permissions and\n *
limitations under the License.\n */
F:.*<.*\n| *\* *</?pre> *\n|.*Java class for.*\n|.*The following
schema.*\n
R:
F:^ *\* *\n^ *\* *\n
R:
F: */\*\*\n(^ +\*.*\n){5}(^.*inside the JAXB.*\n)(^ +\*.*\n){8}^ +
\*/\n
R: