### Bug description

# Syntax highlighting and line numbering break in code blocks for the VHDL language

Observed in `quarto 1.2.269` running on `Windows 11 pro version 10.0.22621`.

Description: VHDL code which includes `process` statements breaks syntax highlighting and further processing like line-numbering. It appears to be a parsing issue at `end process;`. If you write instead the (syntactically incorrect) `end;` or `end process;process;` then the code block is rendered correctly.

When this issue happens, quarto's output includes the following warning
```
[WARNING] Could not highlight code block:
  Capture 1 not defined!
```

Minimal self-contained example:

````qmd
---
title: Example
subtitle: VHDL syntax highlighting doesn't work
format: beamer
---

## Invalid VHDL, renders ok

```{.vhdl code-line-numbers="true"}
architecture arch of dff is
begin
    ff: process (clk)
    begin
        if clk'event and clk='1' then
            q <= d;
        end if;
    end process;process;
end arch;
```

## Valid VHDL, syntax highlighting and line numbering don't work

```{.vhdl code-line-numbers="true"}
architecture arch of dff is
begin
    ff: process (clk)
    begin
        if clk'event and clk='1' then
            q <= d;
        end if;
    end process;
end arch;
```
````


### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
2022-11-29T17:54:47Z
fmirandabonomi
closed
Syntax highlighting fails for correct VHDL code.
https://github.com/quarto-dev/quarto-cli/issues/3506