Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1001134 // Find supported questions in an android's source code

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (345L/3K/10K).

!747

m {
  static S snippetID = "#1001133";
  
  p {
    L<S> tok = javaTok(loadSnippet(snippetID));
    for (int i = 1; i+4 < tok.size(); i += 2) {
      if (tok.get(i).equals("match3") && tok.get(i+2).equals("(")
        && isQuoted(tok.get(i+4))) {
        print("Question found: " + tok.get(i+4));
      }
    }
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001134
Snippet name: Find supported questions in an android's source code
Eternal ID of this version: #1001134/1
Text MD5: 2a11da1aa4075a7c9215c6d0053ae06e
Transpilation MD5: 8132561060f5a3b71cb6bdd013ac2f6a
Author: stefan
Category: androids
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-23 21:06:35
Source code size: 336 bytes / 15 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 612 / 665
Referenced in: [show references]