Comments (7)
@maxtar It's a bit beyond the scope of this issue, but Java 11 LTS has only but only extended support available, and has been superseded by Java 17 LTS and Java 21, which is also LTS.
Either way, still happy to make a 1.x release when it's fixed.
from datafaker.
Yes to what @snuyanzin said. We don't really support 1.x anymore, nor do we support such old versions of Java, but if you're willing to make a PR for this, I'm happy to release a new 1.x version. But it's recommended to upgrade.
from datafaker.
You could just concatenate the pre/post-fix after generating the regexified value.
I did it. But remove prefix and sufffix before calling regexify.
from datafaker.
This is not a datafaker issue, it is the issue of underlying library https://github.com/mifmif/Generex which was used before 2.2.0
Starting 2.2.0 we use another library https://github.com/curious-odd-man/RgxGen
and it doesn't have this problem
So either bump your dependency or contribute a PR to have similar support in 1.x
from datafaker.
I've got it. But Java 11 is LTS. And we counldn't upgrade to new version now.
I will think about PR thank you.
from datafaker.
You could just concatenate the pre/post-fix after generating the regexified value.
from datafaker.
Hi @maxtar , we're aware of this issue, and as said before, happy to accept PRs, even on the 1.x branch, but for now I'll close the issue to clean things up a little.
from datafaker.
Related Issues (20)
- Breaking DateAndTime HOT 4
- Intermitted expressions failures during testing HOT 8
- Remove public methods from `IdNumber` that are not intended to be directly called HOT 8
- How to specify country-specific setting, not language-specific? HOT 2
- Feature request: add support to generate a random PNG/SVG. HOT 1
- 2.3.0 Release HOT 13
- Password generation does not always contain a lowercase letter HOT 3
- Publishing docs works now HOT 1
- Memory leak in maps containing FakerContext as a key HOT 30
- Memory leak for seeded random use case HOT 3
- Create a dictionary of obscene words HOT 8
- java.lang.ClassCastException for finance.credit_card provider with Enum argument in Faker expression HOT 5
- Problems with module-info.java with version 2.3.0 HOT 33
- New Project to improving tests HOT 9
- Locale specific generation performance degradation HOT 1
- Fix publishing of snapshots HOT 4
- Code coverage report is broken HOT 4
- Unable to resolve expression during build HOT 12
- Add weighted selection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datafaker.