| 330 | /// The set of zero-width match instructions. |
| 331 | #[derive(Clone, Copy, Debug, PartialEq, Eq)] |
| 332 | pub enum EmptyLook { |
| 333 | /// Start of line or input. |
| 334 | StartLine, |
| 335 | /// End of line or input. |
| 336 | EndLine, |
| 337 | /// Start of input. |
| 338 | StartText, |
| 339 | /// End of input. |
| 340 | EndText, |
| 341 | /// Word character on one side and non-word character on other. |
| 342 | WordBoundary, |
| 343 | /// Word character on both sides or non-word character on both sides. |
| 344 | NotWordBoundary, |
| 345 | /// ASCII word boundary. |
| 346 | WordBoundaryAscii, |
| 347 | /// Not ASCII word boundary. |
| 348 | NotWordBoundaryAscii, |
| 349 | } |
| 350 | |
| 351 | /// Representation of the Char instruction. |
| 352 | #[derive(Clone, Debug)] |