Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 101 for escapeFn (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

        }
    
        /**
         * Escapes specific characters in a query string.
         * Replaces each specified character with its escaped version (prefixed with backslash).
         *
         * @param q the query string to escape
         * @param values the characters to escape
         * @return the escaped query string
         */
        protected String escape(final String q, final String... values) {
            String value = q;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        }
    
        /**
         * Escapes a callback name.
         * @param callbackName The callback name.
         * @return The escaped callback name.
         */
        protected String escapeCallbackName(final String callbackName) {
            return "/**/" + callbackName.replaceAll("[^0-9a-zA-Z_\\$\\.]", StringUtil.EMPTY);
        }
    
        /**
         * Escapes a JSON object.
         * @param obj The object to escape.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 55.4K bytes
    - Click Count (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

          result.write(this, i)
          // Consume '"'.
          readByte()
          return result.readUtf8()
        }
    
        if (size == i + 1L) return null // Dangling escape.
        result.write(this, i)
        // Consume '\'.
        readByte()
        result.write(this, 1L) // The escaped character.
      }
    }
    
    /**
     * Consumes and returns a non-empty token, terminating at special characters in
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

            }
        }
    
        /**
         * Escapes wildcard characters in the given query string.
         *
         * This method replaces all occurrences of '*' with '\*' and
         * all occurrences of '?' with '\?' to ensure that these characters
         * are treated as literals rather than wildcard characters in queries.
         *
         * @param query the query string to escape
         * @return the escaped query string
         */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Sun Nov 23 11:21:40 GMT 2025
    - 17.5K bytes
    - Click Count (1)
  5. README.md

    });
    ```
    
    ### Text Processing and JSON
    ```java
    import org.codelibs.core.text.*;
    
    // JSON utilities with proper escaping
    String escaped = JsonUtil.escape("Hello \"World\" with special chars");
    String unescaped = JsonUtil.unescape(escaped);
    
    // Text tokenization
    Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ",");
    while (tokenizer.hasMoreTokens()) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/escape/CharEscaperBuilderTest.java

      public void testAddEscapes() {
        char[] cs = {'a', 'b', 'c'};
        CharEscaperBuilder builder = new CharEscaperBuilder().addEscapes(cs, "Z");
        Escaper escaper = builder.toEscaper();
        assertThat(escaper.escape("abcdef")).isEqualTo("ZZZdef");
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. logger/sql.go

    			case reflect.String:
    				vars[idx] = escaper + strings.ReplaceAll(fmt.Sprintf("%v", v), escaper, escaper+escaper) + escaper
    			default:
    				if v != nil && reflectValue.IsValid() && ((reflectValue.Kind() == reflect.Ptr && !reflectValue.IsNil()) || reflectValue.Kind() != reflect.Ptr) {
    					vars[idx] = escaper + strings.ReplaceAll(fmt.Sprintf("%v", v), escaper, escaper+escaper) + escaper
    				} else {
    					vars[idx] = nullStr
    				}
    			}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            return StringUtil.EMPTY;
        }
    
        /**
         * Escapes HTML and applies highlighting to text.
         * Handles boundary position detection if enabled.
         *
         * @param text the text to process
         * @return the escaped and highlighted text
         */
        protected String escapeHighlight(final String text) {
            final String escaped = LaFunctions.h(text);
            final String value;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  9. internal/logger/console.go

    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for line := range strings.SplitSeq(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://%ef%bc%85%ef%bc%94%ef%bc%91.com
    
    # ...%00 in fullwidth should fail (also as escaped UTF-8 input)
    http://\uff05\uff10\uff10.com
    http://%ef%bc%85%ef%bc%90%ef%bc%90.com
    
    # Basic IDN support, UTF-8 and UTF-16 input should be converted to IDN
    http://\u4f60\u597d\u4f60\u597d  s:http p:/ h:xn--6qqa088eba
    
    # Invalid escaped characters should fail and the percents should be
    # escaped. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24191
    http://%zz%66%a.com
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 14.3K bytes
    - Click Count (0)
Back to Top