| 742 | } |
| 743 | |
| 744 | void FileRules::setRegex(size_t ruleIndex, const char * regex) |
| 745 | { |
| 746 | m_impl->validatePosition(ruleIndex, Impl::DEFAULT_NOT_ALLOWED); |
| 747 | m_impl->m_rules[ruleIndex]->setRegex(regex); |
| 748 | } |
| 749 | |
| 750 | // Color space or role. |
| 751 | const char * FileRules::getColorSpace(size_t ruleIndex) const |