<commit_before>package com.redhat.ceylon.common.tools;

import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import com.redhat.ceylon.common.FileUtil;

/**
 * Class with helper methods for expanding a list of module names/specs
 * that possibly contain wildcards into an expanded list of actual modules
 * that were found on the file system
 * @author <NAME>
 */
public abstract class ModuleWildcardsHelper {

    private static final Pattern idPattern = Pattern.compile("\\p{Lower}[\\p{Alnum}_]*");<commit_msg>Now really fixed character classes in module name pattern to accept Unicode (#1605 , thanks @tombentley)<commit_after>package com.redhat.ceylon.common.tools;

import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import com.redhat.ceylon.common.FileUtil;

/**
 * Class with helper methods for expanding a list of module names/specs
 * that possibly contain wildcards into an expanded list of actual modules
 * that were found on the file system
 * @author <NAME>
 */
public abstract class ModuleWildcardsHelper {

    private static final Pattern idPattern = Pattern.compile("\\p{IsLowercase}[\\p{IsAlphabetic}\\p{IsDigit}_]*");
{'fraction_non_alphanumeric': 0.10183767228177641, 'fraction_numerical': 0.0030627871362940277, 'mean_word_length': 4.834821428571429, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2368294', 'n_tokens_mistral': 378, 'n_tokens_neox': 367, 'n_words': 123}