function coder_postprocessor_cvs_id in Coder 7.2
Same name and namespace in other branches
- 5.2 scripts/coder_format/coder_format.inc \coder_postprocessor_cvs_id()
- 5 scripts/coder_format/coder_format.inc \coder_postprocessor_cvs_id()
- 6.2 scripts/coder_format/coder_format.inc \coder_postprocessor_cvs_id()
- 6 scripts/coder_format/coder_format.inc \coder_postprocessor_cvs_id()
- 7 scripts/coder_format/coder_format.inc \coder_postprocessor_cvs_id()
Related topics
File
- scripts/
coder_format/ coder_format.inc, line 1228 - Coder format helper functions.
Code
function coder_postprocessor_cvs_id() {
return array(
'#title' => 'If the CVS keyword Id already exists, append a new line after it.',
'#search' => '@
^( # match start of a line
//.* # match an inline comment followed by any characters
\\$Id.*\\$ # match a CVS Id tag
)$ # match end of a line
@mx',
'#replace' => "\$1\n",
);
}