Skip to content

[Bug]: Cyrillic function names are rejected by the formula parser #1803

Open

Description

@kbulygin

Description

HyperFormula 3.4.0 fails to parse Russian function names even with the ruRU language registered and configured.

For example, =СУММ(1;2;3) produces #ERROR!:

Parsing error. unexpected character: ->С<- at offset: 1

The cause appears to be UNICODE_LETTER_PATTERN in src/parser/parser-consts.ts, which excludes Cyrillic characters:

export const UNICODE_LETTER_PATTERN = 'A-Za-z\u00C0-\u02AF'

Expected: Russian function names such as СУММ and ЕСЛИ should be recognized when using language: "ruRU".

Suggested fix: Extend the lexer character range to include Cyrillic (\u0400-\u052F).

Video or screenshots

No response

Demo

livecodes.io

HyperFormula version

3.4.0

Your framework

No response

Your environment

Firefox 156.0.1 on Debian 13

Activity

  1. added a commit that references this issue on Oct 10, 2026
    1bbfaa0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions