Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 104 for unescape (0.05 seconds)

  1. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                            inputs[i] = unescape(inputStrings.get(i)).trim();
                        }
    
                        final List<String> outputStrings = split(sides.get(1), ",");
                        outputs = new String[outputStrings.size()];
                        for (int i = 0; i < outputs.length; i++) {
                            outputs[i] = unescape(outputStrings.get(i)).trim();
                        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

            }
            return Pattern.quote(s);
        }
    
        /**
         * Unescapes double backslashes in regex patterns.
         * Converts escaped backslashes (\\) back to single backslashes (\).
         *
         * @param s the string to unescape
         * @return the unescaped string
         */
        protected String unescape(final String s) {
            return s.replace("\\\\", "\\");
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                        }
                        continue; // ignore empty lines and comments
                    }
    
                    final String inputStrings = line;
                    final String input = unescape(inputStrings);
    
                    if (input.length() > 0) {
                        id++;
                        final ProtwordsItem item = new ProtwordsItem(id, input);
                        if (updater != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                        }
                        continue; // ignore empty lines and comments
                    }
    
                    final String inputStrings = line;
                    final String input = unescape(inputStrings);
    
                    if (input.length() > 0) {
                        id++;
                        final StopwordsItem item = new StopwordsItem(id, input);
                        if (updater != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals(16, hash.length);
        }
    
        // Test unescape method
        @ParameterizedTest
        @CsvSource({ "'test%20string', 'test string'", "'test%25string', 'test%string'", "'test', 'test'", "'' , ''" })
        void testUnescape(String input, String expected) throws Exception {
            assertEquals(expected, NtlmPasswordAuthentication.unescape(input));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            String dom = null, user = null, pass = null;
            if (userInfo != null) {
                try {
                    userInfo = unescape(userInfo);
                } catch (UnsupportedEncodingException uee) {
                    throw new RuntimeCIFSException(uee);
                }
                int i, u;
                int end = userInfo.length();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

         */
        public NtlmPasswordAuthentication(String userInfo) {
            domain = username = password = null;
    
            if (userInfo != null) {
                try {
                    userInfo = unescape(userInfo);
                } catch (final UnsupportedEncodingException uee) {}
                int i, u, end;
                char c;
    
                end = userInfo.length();
                for (i = 0, u = 0; i < end; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertTrue(result.contains("StopwordsFile"));
            assertTrue(result.contains("path=" + testFile.getAbsolutePath()));
            assertTrue(result.contains("id=test_id"));
        }
    
        // Test unescape private method through reload
        @Test
        public void test_unescape_noBackslash() {
            String content = "word1\n";
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        }
    
        /**
         * <p>Unescapes any Java literals found in the <code>String</code> to a
         * <code>Writer</code>.</p> This is a slightly modified version of the
         * StringEscapeUtils.unescapeJava() function in commons-lang that doesn't
         * drop escaped separators (i.e '\,').
         *
         * @param str  the <code>String</code> to unescape, may be null
         * @return the processed string
    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)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

        }
    
        /**
         * <p>Unescapes any Java literals found in the <code>String</code> to a
         * <code>Writer</code>.</p> This is a slightly modified version of the
         * StringEscapeUtils.unescapeJava() function in commons-lang that doesn't
         * drop escaped separators (i.e '\,').
         *
         * @param str  the <code>String</code> to unescape, may be null
         * @return the processed string
    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)
Back to Top