Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

use jinjava on android: UNICODE_CHARACTER_CLASS flag not supported

Open
#1,210 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
mobile

Research direction

Start at com.hubspot.jinjava.lib.filter.WordCountFilter, especially the static initialization at line 46 shown in the stack trace. Investigate the regular-expression flag that Android rejects and verify that WordCountFilter can initialize without the exception on Android; the issue is done when Jinjava no longer fails there.

Written by the indexing model from the issue text.

Description

Caused by: java.lang.IllegalArgumentException: UNICODE_CHARACTER_CLASS flag not supported
at java.util.regex.Pattern.(Pattern.java:1383)
at java.util.regex.Pattern.compile(Pattern.java:947)
at com.hubspot.jinjava.lib.filter.WordCountFilter.(WordCountFilter.java:46)

please fix it

Dominant language
Java
Stars
785
Forks
184
Avg merge
6d 22h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HubSpot/jinjava

All issues in HubSpot/jinjava

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.