Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for hkotsubo‭

Type On... Excerpt Status Date
Edit Post #277222 Post edited:
over 3 years ago
Edit Post #277223 Post edited:
over 3 years ago
Edit Post #277225 Initial revision over 3 years ago
Question Can regular users add tag wikis? And what are the guidelines for creating them?
Checking the list of tags, I noticed that all of the tag wikis are empty, like this: empty tag wiki I also noticed that I can't edit those info. Will it be possible for regular users to add tag wikis?[^1] And if there is such possibility, what are the recommendations for creating those wi...
(more)
over 3 years ago
Edit Post #277223 Initial revision over 3 years ago
Answer A: How can I emulate regular expression's branch reset in Java?
I've kinda found a very limited, not so elegant, far from ideal "solution", using `replaceAll`: ```java String regex = "(?:([aeiou]+)[0-9]+|([123]+)[a-z]+)\\W+"; System.out.println("ae123.".replaceAll(regex, "$1$2")); System.out.println("111abc!!".replaceAll(regex, "$1$2")); ``` This prints...
(more)
over 3 years ago
Edit Post #277222 Initial revision over 3 years ago
Question How can I emulate regular expression's branch reset in Java?
I've got this sample regex: ```java Pattern p = Pattern.compile("(?:([aeiou]+)[0-9]+|([123]+)[a-z]+)\\W+"); ``` It basically has the following parts: - one or more lowercase vowels (`[aeiou]+`), followed by one or more digits (`[0-9]+`), or - one or more digits 1, 2 or 3 (`[123]+`), follo...
(more)
over 3 years ago