Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 461 for regexp (0.04 seconds)

  1. internal/config/config.go

    	siteLK.RLock()
    	defer siteLK.RUnlock()
    
    	return s.region
    }
    
    var validRegionRegex = regexp.MustCompile("^[a-zA-Z][a-zA-Z0-9-_-]+$")
    
    // validSiteNameRegex - allows lowercase letters, digits and '-', starts with
    // letter. At least 2 characters long.
    var validSiteNameRegex = regexp.MustCompile("^[a-z][a-z0-9-]+$")
    
    // LookupSite - get site related configuration. Loads configuration from legacy
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  2. tests/generics_test.go

    package tests_test
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"reflect"
    	"regexp"
    	"sort"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    
    	"github.com/google/uuid"
    	"gorm.io/driver/mysql"
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestGenericsCreate(t *testing.T) {
    	ctx := context.Background()
    
    	user := User{Name: "TestGenericsCreate", Age: 18}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Dec 30 08:11:14 GMT 2025
    - 34.9K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/query-params-str-validations.md

    你还可以添加 `min_length` 参数:
    
    {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *}
    
    ## 添加正则表达式 { #add-regular-expressions }
    
    你可以定义一个参数必须匹配的 <dfn title="正则表达式(regexregexp)是用于定义字符串搜索模式的字符序列。">正则表达式</dfn> `pattern`:
    
    {* ../../docs_src/query_params_str_validations/tutorial004_an_py310.py hl[11] *}
    
    这个特定的正则表达式通过以下规则检查接收到的参数值:
    
    - `^`:必须以接下来的字符开头,前面没有其他字符。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

             */
            private static String[] parseProperty(String line) {
                // sorry for this spaghetti code, please replace it as soon as
                // possible with a regexp when the Java 1.3 requirement is dropped
    
                String[] result = new String[2];
                StringBuilder key = new StringBuilder();
                StringBuilder value = new StringBuilder();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

             */
            private static String[] parseProperty(String line) {
                // sorry for this spaghetti code, please replace it as soon as
                // possible with a regexp when the Java 1.3 requirement is dropped
    
                String[] result = new String[2];
                StringBuilder key = new StringBuilder();
                StringBuilder value = new StringBuilder();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. docs/debugging/xl-meta/main.go

    package main
    
    import (
    	"bytes"
    	"crypto/md5"
    	"encoding/base64"
    	"encoding/binary"
    	"encoding/hex"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"path/filepath"
    	"regexp"
    	"slices"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    	"unicode/utf8"
    
    	"github.com/google/uuid"
    	"github.com/klauspost/compress/zip"
    	"github.com/klauspost/filepathx"
    	"github.com/klauspost/reedsolomon"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  7. api/go1.11.txt

    pkg os, const ModeIrregular = 524288
    pkg os, const ModeIrregular FileMode
    pkg os, const ModeType = 2399666176
    pkg os, func UserCacheDir() (string, error)
    pkg os/signal, func Ignored(os.Signal) bool
    pkg regexp/syntax, method (Op) String() string
    pkg runtime/trace, func IsEnabled() bool
    pkg runtime/trace, func Log(context.Context, string, string)
    pkg runtime/trace, func Logf(context.Context, string, string, ...interface{})
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 22 03:48:56 GMT 2018
    - 25K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/query-params-str-validations.md

    パラメータ`min_length`も追加することができます:
    
    {* ../../docs_src/query_params_str_validations/tutorial003_an_py310.py hl[10] *}
    
    ## 正規表現の追加 { #add-regular-expressions }
    
    パラメータが一致するべき <dfn title="正規表現、regexregexp は、文字列に対する検索パターンを定義する文字の並びです。">正規表現</dfn> `pattern` を定義することができます:
    
    {* ../../docs_src/query_params_str_validations/tutorial004_an_py310.py hl[11] *}
    
    この特定の正規表現パターンは受け取ったパラメータの値をチェックします:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  9. src/archive/zip/reader_test.go

    0000190 00 00 00 00 00 00 00 00 00 00 00 72 2f 72 2e 7a
    00001a0 69 70 50 4b 05 06 00 00 00 00 01 00 01 00 35 00
    00001b0 00 00 6d 01 00 00 00 00`
    	s = regexp.MustCompile(`[0-9a-f]{7}`).ReplaceAllString(s, "")
    	s = regexp.MustCompile(`\s+`).ReplaceAllString(s, "")
    	b, err := hex.DecodeString(s)
    	if err != nil {
    		panic(err)
    	}
    	return b
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 57.9K bytes
    - Click Count (0)
  10. api/go1.4.txt

    pkg text/template/parse, method (*BranchNode) Copy() Node
    pkg text/template/parse, method (*IdentifierNode) SetTree(*Tree) *IdentifierNode
    pkg html/template, type Error struct, Node parse.Node
    
    # CL 127470043 unicode: strconv: regexp: Upgrade to Unicode 7.0.0., Marcel van Lohuizen <******@****.***>
    pkg unicode, const Version = "7.0.0"
    pkg unicode, var Bassa_Vah *RangeTable
    pkg unicode, var Caucasian_Albanian *RangeTable
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Click Count (0)
Back to Top