> Source: [sk63764](https://support.checkpoint.com/results/sk/sk63764)

# sk63764 - "Error while trying to find LSS for pattern. Verify that pattern contains LSS" message in SmartDashboard when adding Regular Expression

| Property | Value |
|----------|-------|
| Solution ID | sk63764 |
| Date Created | 2011-06-26 |
| Last Modified | 2017-09-24 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |

## Symptoms

- When trying to add a regular expression for DLP / Identity Awareness in SmartDashboard, the following error appears :  

"`Error while trying to find LSS for pattern. Verify that pattern contains LSS`"

*Example for a DLP pattern data-type*:
[![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63764/LSS_Error.png)](https://sc1.checkpoint.com/sc/SolutionsStatics/sk63764/LSS_Error.png "Click the image to see it in full size in a new tab/window")

## Cause

When the regular expression engine compiles the patterns, it searches for the "Longest Simple String" (LSS) within the pattern.

Check Point regular expression engine does not support patterns**without LSS.**

For example, in the pattern ***\\w{5}abc\\w{2}*** , the LSS is ***abc***.

**This is done to boost the performance of regular expression matching when scanning text.**

*Examples* **:**

1. The regular expression ***dogs?*** is composed of the LSS ***dog*** - ***dogs?*** and the pattern would match ***dog*** and ***dogs***
2. The regular expression ***\\d dogs?*** is composed of the LSS ***0 dog*** - ***\\d dogs?*** and would match ***1 dog*** , ***2 dogs*** , ***3 dogs***, etc.
3. The regular expression ***\\w{4}*** does not contain an LSS and would be refused.
4. If you try **j\\w\\w\\w** or **j\\w\*** (where the LSS is **j**). They will both work. You need to have an EXACT match.

**Note:** An exception is a pattern without LSS that contains digits. **Patterns that contain digits are considered patterns with LSS.**

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
