Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for regex (0.14 sec)

  1. .cm/plugins/filters/byCodeowner/ignore/index.js

    }
    
    const EMPTY = ''
    const SPACE = ' '
    const ESCAPE = '\\'
    const REGEX_TEST_BLANK_LINE = /^\s+$/
    const REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/
    const REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/
    const REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/
    const REGEX_SPLITALL_CRLF = /\r?\n/g
    // /foo,
    // ./foo,
    // ../foo,
    // .
    // ..
    const REGEX_TEST_INVALID_PATH = /^\.*\/|^\.+$/
    
    const SLASH = '/'
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            if (shortenedSubprojectName.length + prefix.length <= 80) {
                return shortenedSubprojectName
            }
            return shortenedSubprojectName.replace(Regex("[aeiou]"), "")
        }
    
        fun asName(): String =
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc.xml

                <property name='regex' value='^[A-Z][\$a-zA-Z0-9]*$'/>
            </rule-config>
            <rule-config name='FieldName'>
                <property name='finalRegex' value='^[a-z][a-zA-Z0-9]*$'/>
                <property name='staticFinalRegex' value='^logger$|^[A-Z][A-Z_0-9]*$|^serialVersionUID$'/>
            </rule-config>
            <rule-config name='MethodName'>
                <property name='regex' value='^[a-z][\$_a-zA-Z0-9]*$|^.*\s.*$'/>
    XML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.TimeUnit;
    import java.util.function.BiConsumer;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static java.util.regex.Pattern.quote;
    
    /**
     * NOTICE: this class is invoked via java command line, so we must NOT DEPEND ON ANY 3RD-PARTY LIBRARIES except JDK 11.
     *
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

    public class UpgradedProperties {
    
        private static final Pattern SETTER_REGEX = Pattern.compile("set[A-Z].*");
        private static final Pattern GETTER_REGEX = Pattern.compile("get[A-Z].*");
        private static final Pattern BOOLEAN_GETTER_REGEX = Pattern.compile("is[A-Z].*");
        public static final String OLD_ACCESSORS_OF_UPGRADED_PROPERTIES = "oldAccessorsOfUpgradedProperties";
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/AnonymousClassesFilter.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.filters
    
    import japicmp.filter.ClassFilter
    import javassist.CtClass
    
    import java.util.regex.Pattern
    
    /**
     * Matches JVM anonymous classes.
     */
    class AnonymousClassesFilter implements ClassFilter {
    
        private static final Pattern PATTERN = Pattern.compile('.*\\$[0-9]+$')
    
        @Override
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1K bytes
    - Viewed (0)
  7. .idea/inspectionProfiles/Gradle.xml

          <extension name="InstanceMethodNamingConvention" enabled="true">
            <option name="m_regex" value="[a-z][A-Za-z\d]*" />
            <option name="m_minLength" value="2" />
            <option name="m_maxLength" value="999" />
          </extension>
          <extension name="StaticMethodNamingConvention" enabled="true">
            <option name="m_regex" value="[a-z][A-Za-z\d]*" />
            <option name="m_minLength" value="2" />
    XML
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Apr 11 13:39:08 GMT 2024
    - 13K bytes
    - Viewed (0)
  8. .cm/includes_todos.cm

    automations:
    
      # If someone adds a TODO, remind them about it by requesting removal
      includes_todos:
        if:
          - {{ ('includes_todos' | isEnabledAutomation(pr)) }}
          - {{ source.diff.files | matchDiffLines(regex=r/(TODO)|(todo)/) | some }}
        run:
          - action: add-label@v1
            args:
              label: "⚠️ Includes TODOs"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. .cm/javadoc_on_new_files.cm

        # Triggered for new Java files that lack Javadoc content.
        if:
    
          - {{ ('javadoc_on_new_files' | isEnabledAutomation(pr)) }}
          - {{ is.java and is.new }}
          - {{ source.diff.files | matchDiffLines(regex=r/\/*\*([\s\S]*?)\//) | nope }}
        run:
          - action: add-label@v1
            args:
              label: "⚠️ Missing Javadoc"
              color: {{ colors.yellow }}
          - action: add-comment@v1
            args:
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         * useful regardless of this renderer's needs, since now there will be a link embedded in the report
         * to quickly open the changes file.  By then we can also regex that path out of the description
         * in order to create a changes {@link File} for further use in this class.
         *
         * @param data the report data containing a description to parse
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
Back to top