<commit_before>[feature name=wcm-io-samplesaem-cms-config]


[configurations]

  # Enable GZIP and Minification for Clientlibs
  com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl
    htmllibmanager.debug=B"false"
    htmllibmanager.timing=B"false"
    htmllibmanager.minify=B"true"
    htmllibmanager.gzip=B"true"

  # Default LogManager configuration
  org.apache.sling.commons.log.LogManager
    org.apache.sling.commons.log.pattern="{0,date,dd.MM.yyyy\ HH:mm:ss.SSS}\ *{4}*\ [{2}]\ {3}\ {5}"
    org.apache.sling.commons.log.file="logs/error.log"
    org.apache.sling.commons.log.level="warn"
    org.apache.sling.commons.log.file.size="'.'yyyy-MM-dd"
    org.apache.sling.commons.log.file.number=I"15"

  # Set loglevel for project-specific bundles
  org.apache.sling.commons.log.LogManager.factory.config-wcmio-samples
    org.apache.sling.commons.log.file="logs/error.log"
    org.apache.sling.commons.log.level="{{log.projectSpecificLogLevel}}"
    org.apache.sling.commons.log.names=["io.wcm"]
    org.apache.sling.commons.log.pattern="{0,date,dd.MM.yyyy\ HH:mm:ss.SSS}\ *{4}*\ [{2}]\ {3}\ {5}"
  
  # Context path strategy
  io.wcm.caconfig.extensions.contextpath.impl.RootTemplateContextPathStrategy-wcmio-samples
    templatePaths=["/apps/wcm-io-samples/sample-app/templates/content/homepage"]
    minLevel=I"1"
    maxLevel=I"5"
    contextPathRegex="^/content(/.+)$"
    configPathPatterns=["/conf$1","/content$1/tools/config/jcr:content"]

  # Store configuration in tools/config pages
  io.wcm.caconfig.extensions.persistence.impl.ToolsConfigPagePersistenceStrategy
    enabled=B"true"
    configPageTemplate="/apps/wcm-io-samples/sample-app/templates/admin/configEditor"<commit_msg>make path regex more explicit<commit_after>[feature name=wcm-io-samplesaem-cms-config]


[configurations]

  # Enable GZIP and Minification for Clientlibs
  com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl
    htmllibmanager.debug=B"false"
    htmllibmanager.timing=B"false"
    htmllibmanager.minify=B"true"
    htmllibmanager.gzip=B"true"

  # Default LogManager configuration
  org.apache.sling.commons.log.LogManager
    org.apache.sling.commons.log.pattern="{0,date,dd.MM.yyyy\ HH:mm:ss.SSS}\ *{4}*\ [{2}]\ {3}\ {5}"
    org.apache.sling.commons.log.file="logs/error.log"
    org.apache.sling.commons.log.level="warn"
    org.apache.sling.commons.log.file.size="'.'yyyy-MM-dd"
    org.apache.sling.commons.log.file.number=I"15"

  # Set loglevel for project-specific bundles
  org.apache.sling.commons.log.LogManager.factory.config-wcmio-samples
    org.apache.sling.commons.log.file="logs/error.log"
    org.apache.sling.commons.log.level="{{log.projectSpecificLogLevel}}"
    org.apache.sling.commons.log.names=["io.wcm"]
    org.apache.sling.commons.log.pattern="{0,date,dd.MM.yyyy\ HH:mm:ss.SSS}\ *{4}*\ [{2}]\ {3}\ {5}"
  
  # Context path strategy
  io.wcm.caconfig.extensions.contextpath.impl.RootTemplateContextPathStrategy-wcmio-samples
    templatePaths=["/apps/wcm-io-samples/sample-app/templates/content/homepage"]
    minLevel=I"1"
    maxLevel=I"5"
    contextPathRegex="^/content/(dam/)?wcm-io-samples(/.*)?$"
    configPathPatterns=["/conf$1","/content$1/tools/config/jcr:content"]

  # Store configuration in tools/config pages
  io.wcm.caconfig.extensions.persistence.impl.ToolsConfigPagePersistenceStrategy
    enabled=B"true"
    configPageTemplate="/apps/wcm-io-samples/sample-app/templates/admin/configEditor"
{'fraction_non_alphanumeric': 0.1609261939218524, 'fraction_numerical': 0.009261939218523878, 'mean_word_length': 4.408450704225352, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5401699', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1241, 'n_words': 123}