Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 81 for Characters (0.28 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

            for (char c : validChars.toCharArray()) {
                assertTrue("Character '" + c + "' should be a valid URL character", CharUtil.isUrlChar(c));
            }
        }
    
        public void test_isUrlChar_boundaryChars() {
            // Test boundary characters for ranges
            assertTrue(CharUtil.isUrlChar('a')); // first lowercase
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

            /**
             * Compiles a robots.txt path pattern into a regular expression pattern.
             * According to RFC 9309:
             * - '*' matches any sequence of characters (including the empty sequence)
             * - '$' matches the end of the URL path
             * - All other characters are matched literally
             *
             * @param pattern the robots.txt path pattern
             * @return the compiled Pattern object
             */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/XmlUtilTest.java

            // Test all special characters
            String input = "Test & < > \"quote\" 'apos'";
            String expected = "Test &amp; &lt; &gt; &quot;quote&quot; &apos;apos&apos;";
            assertEquals(expected, XmlUtil.escapeXml(input));
        }
    
        public void test_escapeXml_noSpecialChars() {
            // Test string without special characters
            String input = "Simple text without special characters";
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

                assertTrue("Error message should contain 'text content'", message.contains("text content"));
            }
        }
    
        /**
         * Test extraction with special characters and control characters.
         */
        public void test_getText_withSpecialCharacters_handlesCorrectly() {
            final String specialContent = "Tab\there\nNewline\rCarriage return\0Null byte";
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial004_an_py310.py hl[11] *}
    
    This specific regular expression pattern checks that the received parameter value:
    
    * `^`: starts with the following characters, doesn't have characters before.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertEquals("&lt;tab&gt;", xmlEscaper.escape("<tab>"));
    
        // Test all non-escaped ASCII characters.
        String s =
            "!@#$%^*()_+=-/?\\|]}[{,.;:"
                + "abcdefghijklmnopqrstuvwxyz"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 22:03:28 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. scripts/translate.py

    "backtick"
    
        The character «`»
        Unicode U+0060 (GRAVE ACCENT)
    
    "single backtick"
    
        A single backtick – «`»
    
    "triple backticks"
    
        Three backticks in a row – «```»
    
    "neutral double quote"
    
        The character «"»
        Unicode U+0022 (QUOTATION MARK)
    
    "neutral single quote"
    
        The character «'»
        Unicode U+0027 (APOSTROPHE)
    
    "English double typographic quotes"
    
        The characters «“» and «”»
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        @Test
        public void testParseQueryWithSpecialCharacters() {
            // Test query with special characters
            String query = "test+query-search";
            String field = "content";
            String[] keywords = SuggestUtil.parseQuery(query, field);
            assertNotNull(keywords);
            // Parser should handle special characters
        }
    
        @Test
        public void testGetTermQueryListWithNull() {
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

        }
    
        /**
         * SAX event handler called to process character data between XML elements.
         * Accumulates text content in a buffer for later processing when the element ends.
         *
         * @param ch the characters from the XML document
         * @param start the start position in the character array
         * @param length the number of characters to use from the character array
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py

        assert response.json() == {
            "detail": [
                {
                    "type": "string_too_short",
                    "loc": ["query", "q"],
                    "msg": "String should have at least 3 characters",
                    "input": "qu",
                    "ctx": {"min_length": 3},
                }
            ]
        }
    
    
    def test_query_params_str_validations_q_too_long(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top