Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 230 for regex (0.01 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

      companion object {
        private const val TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)"
        private const val QUOTED = "\"([^\"]*)\""
        private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN")
        private val PARAMETER = Regex(";\\s*(?:$TOKEN=(?:$TOKEN|$QUOTED))?")
    
        /**
         * Returns a media type for this string.
         *
         * @throws IllegalArgumentException if this is not a well-formed media type.
         */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:08 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/PatternFilenameFilter.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Preconditions;
    import java.io.File;
    import java.io.FilenameFilter;
    import java.util.regex.Pattern;
    import java.util.regex.PatternSyntaxException;
    
    /**
     * File name filter that only accepts files matching a regular expression. This class is thread-safe
     * and immutable.
     *
     * @author Apple Chow
     * @since 1.0
     */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (1)
  3. okhttp/src/commonTest/kotlin/okhttp3/OkHttpTest.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.matches
    import org.junit.jupiter.api.Test
    
    class OkHttpTest {
      @Test
      fun testVersion() {
        assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?"))
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 247 bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

    import gradlebuild.docs.model.ClassMetaDataRepository;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    
    import java.util.ArrayList;
    import java.util.List;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /**
     * Converts a javadoc link into docbook.
     */
    public class JavadocLinkConverter {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Click Count (0)
  5. docs/metrics/prometheus/grafana/node/minio-node.json

              "value": "$__all"
            },
            "label": "Data source",
            "name": "DS_PROMETHEUS",
            "options": [],
            "query": "prometheus",
            "refresh": 1,
            "regex": "",
            "type": "datasource"
          },
          {
            "current": {},
            "datasource": {
              "type": "prometheus",
              "uid": "${DS_PROMETHEUS}"
            },
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 04 01:46:49 GMT 2025
    - 22.5K bytes
    - Click Count (0)
  6. 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.*$'/>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  7. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc-integtests.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.*$'/>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/primitives/Doubles.java

      }
    
      /**
       * This is adapted from the regex suggested by {@link Double#valueOf(String)} for prevalidating
       * inputs. All valid inputs must pass this regex, but it's semantically fine if not all inputs
       * that pass this regex are valid -- only a performance hit is incurred, not a semantics bug.
       */
      @GwtIncompatible // regular expressions
      static final
      java.util.regex.Pattern
          FLOATING_POINT_PATTERN = fpPattern();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  9. docs_src/query_params_str_validations/tutorial004_regex_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            str | None, Query(min_length=3, max_length=50, regex="^fixedquery$")
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 366 bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          |--simple boundary
          |
          |abcd
          |--simple boundary
          |
          |efgh
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
            .replace(Regex("(?m)abcd\r\n"), "abcd\n")
    
        val parts =
          MultipartReader(
            boundary = "simple boundary",
            source = Buffer().writeUtf8(multipart),
          )
    
        val part = parts.nextPart()!!
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top