Programmer's Stack
Pages
Home
ChannelJava
JQuery
My Tasks App
Bootstrap Templates
Selenium
Java For Beginners
{{theTime}}
!doctype>
Search This Blog
Total Pageviews
java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
The * is a reserved character in RegEx. Escape the * using \\. Example: String [] linesplitter = line.split("\\*");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
How to install Windows Subsystem for Linux?
- Open Powershell in Admin mode and run wsl --install
No comments:
Post a Comment