Skip to content
Snippets Groups Projects
Commit b9a00967 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

remove test code

parent 8a7664a4
No related branches found
No related tags found
No related merge requests found
...@@ -928,10 +928,6 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact ...@@ -928,10 +928,6 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
<displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_contactid/displayValueProcess.js</displayValueProcess> <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_contactid/displayValueProcess.js</displayValueProcess>
<onValidation>%aditoprj%/entity/Person_entity/entityfields/organisation_contactid/onValidation.js</onValidation> <onValidation>%aditoprj%/entity/Person_entity/entityfields/organisation_contactid/onValidation.js</onValidation>
</entityField> </entityField>
<entityActionField>
<name>ActionField</name>
<onActionProcess>%aditoprj%/entity/Person_entity/entityfields/actionfield/onActionProcess.js</onActionProcess>
</entityActionField>
</entityFields> </entityFields>
<recordContainers> <recordContainers>
<dbRecordContainer> <dbRecordContainer>
......
import("system.logging");
import("DocumentTemplate_lib");
import("Placeholder_lib");
var p = "C3=BCgu{=\n\
@test@}es auf unseren Prod{@test5@}uktiv-Daten arbeitet und die Tickets / Proekte{@ =\n\
test2@}2.0) abbildet.{@tes=\n\
t3@}\n\
{ =\n\
@te=\n\
st@=\n\
}\n\
"
function rep(pText)
{
return pText.replace(new RegExp(
// "{.*?@(.|\n){1,50}?@.*?}"
"{\\s*(=\\r?\\n)?@(.|(\\r?\\n))+?@\\s*(=\\r?\\n)?}"
, "ig"), function(pFound) {
logging.log(pFound);
return "_";
}, "ig")
}
logging.log("{\\s*(=\\r?\\n)?@(.|(\\r?\\n))+?@\\s*(=\\r?\\n)?}");
res = rep(p, PlaceholderUtils.getPlaceholders());
logging.log(res);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment