Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

findInLine problem  RSS feed

 
Emili Calonge
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a lot of information stored on a .txt file, the information is stored this way:
String+" ## "+String
Now I want to put this 2 Strings into String variables, so I wanna try to do it with the findInline function, so I have this code:

Most of this code is copy+paste fom sun's api page. The error is:
Exception in thread "main" java.lang.IllegalStateException: No match result available
Please, anyone can help me? Thanks.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give a short example of input (content of f1) which causes a problem?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!